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

AuditTrail - see action button only if user have right permission #15431

Closed
PiemP opened this issue Mar 1, 2024 · 0 comments · Fixed by #15432
Closed

AuditTrail - see action button only if user have right permission #15431

PiemP opened this issue Mar 1, 2024 · 0 comments · Fixed by #15432
Labels

Comments

@PiemP
Copy link
Contributor

PiemP commented Mar 1, 2024

Describe the bug

Now Audit trail button for each content item, in the content item list view, is visibile by default. No related permission evaluation.

If a user click Audit Trail button, without View audit trail permission, you see the forbid page.

Screenshot 2024-03-01 085639

To Reproduce

Steps to reproduce the behavior:

  1. enable audit trail module
  2. go in content item list view with a user without permission to see audit trail
  3. click over action button
  4. check if you see Audit Trail option

Expected behavior

Allow to see Audit Trail button only if user have the permission to view audit trail.

see image: no audit trail menu, no audit trail option

Screenshot 2024-03-01 085858

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

Successfully merging a pull request may close this issue.

1 participant