RedHatInsights/insights-rbac-ui

View on GitHub
src/helpers/access/access-helper.js

Summary

Maintainability
A
0 mins
Test Coverage
import { getAccessApi } from '../shared/user-login';

const accessApi = getAccessApi();

export async function getPrincipalAccess({ limit, offset, username, application = '', status, orderBy }) {
  return await accessApi.getPrincipalAccess(application, username, orderBy, status, limit, offset);
}