What I am trying to do:
Revoke all access rights and permissions for a user except the permission for DNS management using the SoftLayer API.
What I have done (using the SoftLayer python client):
- Revoked all user permissions by a) calling getPermissions() to retrieve the user permissions and b) calling removeBulkPortalPermission() for all the retrieved user permissions.
- Removed all virtual access rights by calling removeAllVirtualAccessForThisUser() for the user.
- Removed all hardware access right by calling removeAllHardwareAccessForThisUser() for the user.
- Granted the user DNS management permissions by calling addBulkPortalPermission([{"key": "DNS_1", "keyName": "DNS_MANAGE", "name": "Manage DNS"}]) -- addPortalPermission() could be used as well.
What is the issue:
The user can access functionality other than DNS management (e.g. Devices > Manage > Images).