Open Jorilx opened 5 years ago
@Jorilx Please can you construct and detail your issue using the issue template that is provided. Providing the description for your bug, context, steps to reproduce etc. We will then assess your issue further.
Yes, sorry, here it is:
The "Role management" module doesn't show a row for the CampaignLog module, so you cannot set role permissions for it.
It should be possible to specify the role permissions for the CampaignLog module.
There's no "Campaign log" row inside the role management page.
Make the CampaignLog bean implement the ACL interface.
I have an admin-owned report (built with the Reports module) that uses CampaignLog as "base" and while the admin user can use it normally, other users see the report inside the Reports list as unclickable, so they cannot use it at all. This happens because those users have no "CampaignLog" permissions and the Reports module (rightly) prevents them from gaining access to the data. (I need this report because I'd like to be able to export Campaign results to PDF for easier handling)
SuiteCRM 7.10.12 Firefox 66.0.1 MariaDB 10.2.23 PHP 7.0.33 Ubuntu Trusty
Thanks for that further information. Marking as a bug and setting medium priority. Let me know if you have further comments or feel the priority should be adjusted!
Link to Forum thread where a couple of people say the proposed fix works:
The CampaignLog bean doesn't implement the ACL interface, so you cannot set its permissions from the "Roles" module. Is this by design? I've been bitten by this problem because I have a CampaignLog report (inside the Reports module) and while the admin user can use it normally, other users cannot gain access to its detail page, thus rendering the report useless.
I'm thinking of adding this
to CampaignLog.php and the related actions to the
acl_actions
table*, is this enough?SuiteCRM 7.10.12
*: by going to
index.php?module=ACL&action=install_actions