dashpresshq/dashpress

View on GitHub
src/frontend/views/roles/Permissions/index.tsx

Summary

Maintainability
A
2 hrs
Test Coverage
A
100%

Function RolePermissions has 56 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function RolePermissions() {
  const activeEntities = useActiveEntities();
  const portalPermission = usePortalExtendedPermissions();
  const rolePermissions = useRolePermissions();
  const portalUserPermissions = usePortalUserPermissions();
Severity: Major
Found in src/frontend/views/roles/Permissions/index.tsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status