RedHatInsights/insights-rbac-ui

View on GitHub
src/utilities/permissions-context.js

Summary

Maintainability
A
0 mins
Test Coverage
import { createContext } from 'react';

const PermissionsContext = createContext({
  userAccessAdministrator: false,
  orgAdmin: false,
});

export default PermissionsContext;