Feature #27644
Check a user's permission before allowing them to access react pages
Description
Currently we allow users to visit pages they don't have access to. If a user doesn't have permission to view a page we shouldn't allow them to view it.
To be used in concert with Katello issue #27450
Related issues
Associated revisions
History
#1
Updated by Jeremy Lenz over 3 years ago
- Copied from Feature #27450: Check a user's permission before allowing them to access react pages added
#2
Updated by The Foreman Bot over 3 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/6979 added
#3
Updated by Jeremy Lenz over 3 years ago
- Pull request deleted (
https://github.com/theforeman/foreman/pull/6979)
#4
Updated by Walden Raines over 3 years ago
- Pull request https://github.com/theforeman/foreman/pull/6979 added
- Pull request deleted (
https://github.com/Katello/katello/pull/8262)
#5
Updated by The Foreman Bot over 3 years ago
- Fixed in Releases 1.24.0 added
#6
Updated by Jeremy Lenz over 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset 8e111f83470c960c356e2ce1de0231c46da273c8.
#7
Updated by Amit Upadhye over 3 years ago
- Category set to JavaScript stack
Fixes #27644: Add PermissionDenied component
add missing_permissions to rabl view
Implement PR review suggestions
Add index.js
Add tests & snaps
Add ForemanLink component
Add storybook page (couldn't test due to 27531 not merged)
update snapshot
move storybook to Components level
exclude static storybook from git
switch back to just using <a>
update snaps
pass strings literal to translate
Update test to use testComponentSnapshotsWithFixtures
remove old test
remove .gitignore line per walden comment