Any info on SNC.BusinessServiceManager();

Mariano Lemus
Kilo Guru

Does anyone know about method: isReadingPermitted()

I am troubleshooting the visibility to some Business Services, and I found out the ACLs which are calling the above script.

Seems like the ACLs are evaluating to FALSE, so isReadingPermitted(current,gs.getUserId()) is throwing FALSE.

I have not found any documentation of how can I enable my users visibility to some specific Business Services (which are hidden as per the above).

Any help is appreciated, thank you,

4 REPLIES 4

bernyalvarado
Mega Sage

Hi Mariano,



Does your users have the sm_user role? This role is required for users to have visibility to the Business Service Maps.



Thanks,


Berny


Yes they do, so the ACL is evaluating to true on the role condition.



the script condition is being ealuated to FALSE: isReadingPermitted(current,gs.getUserId()) is throwing FALSE.



Hence the need for help undertanding what the following is doing:


SNC.BusinessServiceManager();

Thanks,



Mariano


This might help:


Assign a role to a business service group



If I remember correctly, as long as you have not assigned any role to a Business Service Group, the sm_user suffices for the access.


But if you do define these responsibilities, then user should have that role too.


Adam43
Tera Contributor

i'm interested in this too- on Xanadu- we have a user with itil, but also sam_core_user and app_service_admin.  according to the API doc for SNC.BusinessServiceManager.isReadingPermitted- that causes a fail on the read ACL.   I'm also trying to validate exactly HOW the API checks for the 'all' in service groups etc, because this CI does have ALL listed on service group members.