How to enable RDE privileges for all existing roles
Original Publishing Date:
2020-02-28
Introduction
A privilege “Application Reporting and Data Export: RDE Access” has been introduced in RDE version 2.1.147 that allows resellers to restrict access to RDE reports for unauthorized staff members.
In RDE version 3.7.39, privileges have been introduced to give resellers the opportunity to restrict access to charts and to all analytics for unauthorized staff members:
- "Application Reporting and Data Export: RDE Charts", and
- "Application Reporting and Data Export: RDE Global".
These privileges are enabled in the “Account Administrator” role by default. To keep the existing behavior for all existing roles, you need to enable these privileges in all roles after the upgrade.
Enabling a privilege in all roles at one time is performed by means of a script execution. This script enables a privilege in all existing roles, therefore, all account's users receive the respective access rights after this script is executed.
Do not execute a script if you do not want to grant access to all existing roles at one time. In this case, access will be available for users with the “Account Administrator” role.
If you want to grant access only to particular roles, configure these roles through the UI using the instructions in Configuring a Set of Privileges.
Enabling the “Application Reporting and Data Export: RDE Access” Privilege
- Ensure that RDE is upgraded to version 2.1.147.
- Download and save the add-rde-privilege-to-all-roles.py script to the CloudBlue Commerce management node.
-
Add execution rights to this script using this command:
# chmod a+x add-rde-privilege-to-all-roles.py
-
Run the script as follows:
# ./add-rde-privilege-to-all-roles.py
Note: If the RDE was not upgraded to version 2.1.147, the script will output the error message:
“Cannot find RDE privilege group RDE Access”.
Enabling the “Application Reporting and Data Export: RDE Charts” Privilege
- Ensure that RDE is upgraded to version 3.7.39, and you use CloudBlue Commerce version 21.6 (UI and Branding 21.6-85) or later.
- Download and save the add-rde-charts-privilege-to-all-roles.py script to the CloudBlue Commerce management node.
-
Add execution rights to this script using this command:
# chmod a+x add-rde-charts-privilege-to-all-roles.py
-
Run the script as follows:
# ./add-rde-charts-privilege-to-all-roles.py
Note: If the RDE was not upgraded to version 3.7.39, the script will output the error message: “Cannot find RDE privilege group RDE Charts”.
Enabling the “Application Reporting and Data Export: RDE Global” Privilege
- Ensure that RDE is upgraded to version 3.7.39.
- Download and save the add-rde-global-privilege-to-all-roles.py script to the CloudBlue Commerce management node.
-
Add execution rights to this script using this command:
# chmod a+x add-rde-global-privilege-to-all-roles.py
-
Run the script as follows:
# ./add-rde-global-privilege-to-all-roles.py
Note: If the RDE was not upgraded to version 3.7.39, the script will output the error message: “Cannot find RDE privilege group RDE Global”.
Internal content