Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ac/remove permission requirements #976

Merged

Conversation

aaronchongth
Copy link
Member

What's new

  • Allow all users to access admin actions until authz is implemented properly
  • Allow all users to edit or delete schedule series

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
Comment on lines 523 to 524
// FIXME: reinstate after authz is implemented properly
// disabled={!profile.user.is_admin}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should keep this check, there should be no reason for non admin to see this tab, even if the concept of "admin" has no meaning now.

Signed-off-by: Aaron Chong <aaronchongth@gmail.com>
@aaronchongth aaronchongth merged commit eae7863 into koonpeng/hammer-jazzy-base Jul 26, 2024
3 checks passed
@aaronchongth aaronchongth deleted the ac/remove-permission-requirements branch July 26, 2024 06:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants