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

Hide Actions Column for Users Without Permissions #22208

Open
m-aliozkaya opened this issue Feb 21, 2025 · 1 comment
Open

Hide Actions Column for Users Without Permissions #22208

m-aliozkaya opened this issue Feb 21, 2025 · 1 comment

Comments

@m-aliozkaya
Copy link
Contributor

Currently, the "Actions" column (which includes options like creating, editing, and deleting) is visible to all users in the management interface, regardless of their permissions. If a user does not have the necessary permissions for any of these actions, the column should not be displayed to avoid confusion and maintain a clean UI.

This occurs in all three Blazor templates. (Blazor server, blazor web assembly, blazor web app)

Expected Behavior:

The "Actions" column should only be visible to users who have at least one of the permissions edit, delete or etc).

image

@m-aliozkaya
Copy link
Contributor Author

We can add a tooltip for disabled actions according to this comment #22205 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants