Cannot create user groups from scoped application

Maik Skoddow
Tera Patron
Tera Patron

At my scoped application I want to create user groups via a business rule. 

I checked  "create" and "update" at Table "sys_user_group":

find_real_file.png

 

And I added cross scope priviledges:

find_real_file.png

But it's still not possible to create user groups:

find_real_file.png

Does anyone have any idea what I might have forgotten?

 

1 ACCEPTED SOLUTION

Maik Skoddow
Tera Patron
Tera Patron

Hi everyboy,

Thank you very much for your hints and the links to further information. I have learned a lot.

After refreshing my PDI and starting from scratch, it now works as intended. I have no idea what went wrong.

View solution in original post

6 REPLIES 6

Sagar Pagar
Tera Patron

Hello Maik,

 

You need to set the "Allow configuration" check box to true it will work fine. "Allow configuration" restricts whether out-of-scope applications can create application files like Business rules, New fields, Client script and UI actions.

Refer this blog for information about A securing an application cross scope application.

Securing an application using Cross Scope Access, Application Access Settings & Restrict Table Choic...

 

You may also help this thread cross scope privileges denied by table cross scope.

 

Regards,

Sagar Pagar

The world works with ServiceNow

I'm afraid, that was not the right solution. I checked "Allow configuration", but I still cannot create user groups at my scoped application.

It's really frustrating!

Sukraj Raikhraj
Kilo Sage

Hey Maik, I have seen similar issue in the past. The article that Sagar posted is helpful in resolving the issue:

Example of creating a Record in a Group Table:

 

Application access settings are different on each OOTB tables. For example, the default Group table allows another application scope Web Service access and Read access. However, other permissions are restricted. If a script attempts to perform an operation that is not allowed, admin users see a message:

Execute operation on API 'GlideRecord.insert' from scope 'CSA' was denied. The application 'CSA' must declare a cross scope access privilege. Please contact the application author to update their privilege requests.

Evaluator: com.glide.script.fencing.CrossScopeAccessNotAllowedException: Access to GlideRecord.insert from scope x_13241_csa not allowed

In the above case, "Can Create" checkbox has to be set to true to be able to create the records in Group table.

Hi Sukraj,

as you can see in the above screenshot, I have checked "Can Create" at sys_user_group, but it's still not working.