Superuser ACL does not receive "Web Service" ACL permission by default

book

Article ID: 34965

calendar_today

Updated On:

Products

DX Infrastructure Management NIMSOFT PROBES

Issue/Introduction

Customers may find after initial deployment of the webservice_rest package to UMP that they are unable to access the REST API callbacks with the built-in administrator account.

An error will be observed indicating that the user does not have access to the Web Service, even when using the Superuser ACL.

Environment

UIM 8.x 

Resolution

There are two ways to correct this.

I. The easiest way is to open Infrastructure Manager, and navigate to Security->Manage ACLs. ?From here, click "OK" without making any changes. ?This causes a reset of the user permissions and corrects the issue.

II. For users who can't or do not wish to access Infrastructure Manager, you can take the following steps:

1. Locate the file \Nimsoft\probes\service\distsrv\base_acls.cfg

2. Edit the file with any text editor, e.g. Notepad, vi, etc.


3. Find the section that looks like this:

<Web Service>
 name = Web Service
 desc = Access to NimBUS Web Service API
 access = read
 type = Web
</Web Service>

And modify it as follows:

<Web Service>
 name = Web Service
 desc = Access to NimBUS Web Service API
 access = read
 type = Web
 apply_to_existing_acls = Superuser
</Web Service>

Then you can use the command-line probe utility to re-set the ACLs as follows:

Linux:

/opt/nimsoft/bin/pu -u administrator -p (password) distsrv set_acl_init base_acls.cfg

Windows:

C:\Program Files (x86)\Nimsoft\bin\pu.exe?-u administrator -p (password) distsrv set_acl_init base_acls.cfg

where (password) is the password for the built-in administrator user.

Once this command has been run the Web Service permission will be available for the Superuser ACL.