Manually edit permissions for user access to DNS Integrity Gateway workflows.
- From your local workstation, open the permissions.json file located in the <dns_integrity_gateway> directory.
-
Under "admin", add the PortalGroup UDF value or the user group name
under "workflow_permissions". For example, if you created a DNS Integrity Gateway user in BAM with the value
‘all’ for the PortalGroup UDF, but also want to grant access to the
"DNS_Integrity-Gateway_admins" user group, then the permissions.json file would
look like this:
{ "admin": { "workflow_export_import": [ "all" ], "workflow_permissions": [ "all" "DNS_Integrity_Gateway_admins" ] } }
- Save the permissions.json file.
-
From the Linux client, restart the DNS Integrity Gateway using any of
the following commands to implement your changes:
python dns_integrity_gateway.py run --uid <number>
Parameters:or- uid—any valid numerical value (uid cannot be zero); BlueCat recommends a uid of 500 or greater in order to avoid conflicts with internal container users. The uid (user ID) maps the Python Flask user inside the DNS Integrity Gateway container to the Linux client.
docker exec portal service apache2 restart
Note: This command can be run from any directory.or-
docker attach portal service apache2 restart
Note: The first command attaches to the DNS Integrity Gateway container then the second command tells the apache server to restart.