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

[Bug]: Activities Tab Not Visible for Users with “plugin_cmf_perm_activities” Role #550

Open
rliebi opened this issue Jan 8, 2025 · 0 comments
Labels

Comments

@rliebi
Copy link

rliebi commented Jan 8, 2025

Expected behavior

Users assigned the “plugin_cmf_perm_activities” role should have access to the Activities tab within the Pimcore Customer Data Framework interface.

Actual behavior

The Activities tab is not displayed for users who possess only the “plugin_cmf_perm_activities” role. Upon investigation, it appears that during the evaluation of ActivityView.config.PERMISSION, the permission is set to “plugin_cmf_perm_customerview”. Consequently, users must also be assigned the “plugin_cmf_perm_customerview” role to access the Activities tab. The relevant code in src/Resource/public/js/startup.js correctly references the intended permission, suggesting the issue may originate elsewhere in the codebase.

Steps to reproduce

  • Assign the activity role to a test user.
  • Log in as the test user.
  • Navigate to a user where the Activities tab should be present.
  • Observe that the Activities tab is not visible.
  • Assign the “plugin_cmf_perm_customerview” role to the same test user.
  • Log in again as the test user.
  • Navigate to the same section and note that the Activities tab is now visible.

Image

@rliebi rliebi added the Bug label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant