Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: add support for project and environment in PermissionGuard (#6008
) I noticed some manual `hasAccess` usages in permission guards due to the fact that `PermissionGuard` does not accept `project` and `environment`. This PR adds this support to `PermissionGuard` so we can adapt these `hasAccess` checks to use it instead, adding consistency and cleaning things up. This PR does not include these adaptations however, it only adds the optional properties to the component. We can address these at a later point.
- Loading branch information