Skip to content
New issue

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

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

Already on GitHub? # 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 · 1 comment

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
Copy link

Thanks a lot for reporting the issue. We did not consider the issue as "Pimcore:Priority", "Pimcore:ToDo" or "Pimcore:Backlog", so we're not going to work on that anytime soon. Please create a pull request to fix the issue if this is a bug report. We'll then review it as quickly as possible. If you're interested in contributing a feature, please contact us first here before creating a pull request. We'll then decide whether we'd accept it or not. Thanks for your understanding.

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

No branches or pull requests

1 participant