How to Restrict creation of scripts in a scope from other scope?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2025 01:50 AM - edited ‎01-11-2025 11:44 PM
I have created a custom app called HOTEL with a custom table in it. I want to allow other scoped apps read data in this custom table but dont want to allow creation of scripts like Business rules and client scripts in this table.
Hence I have unchecked ''Allow Configuration" and checked 'Can Read'.
But still, from other applications scope, developers are able to choose above table.
ie I have another app called 'AIR LINE'. From that scope, developers can create business rules, client scripts on the table created in HOTEL application.
I don't want that to happen. How to control?
As per docs that should not happen when 'Allow configuration' is not checked.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2025 06:17 AM
Hi @Suggy
If you want to restrict a table to a specific scope, you can create a Cross Scope Privilege (sys_scope_privilege) record.
In the Cross Scope Privilege record, you can configure the following:
- Source Scope
- Target Scope
- Table
- Operation (Read, Create, Write and Delete)
- Status (Requested, Denied, Allowed)
This can be help to meet your specific requirements.
If you find my response helpful in resolving your query, please mark it as helpful.
Thank you!
Regards,
Keshav
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2025 07:44 AM
That did not help. I have edited my question with clear details. Can you take a look at it again? @Keshav72
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2025 09:41 PM
Hello @Suggy , If you don't want this table to be available for other applications, please change the setting of 'Accessible from' field to 'This application scope only' from drop down.
Regards,
Nishant
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-11-2025 11:45 PM
@Nishant8 I want to allow to read the data but just restrict creation of scripts which is not happening.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-12-2025 02:57 AM
Hello @Suggy, can you try below 3 steps and share the outcome?
1. Keep Accessible from as 'This application scope only' so that your table is not available for BR and other configuration
2. Provide users with necessary role, created for accessing the data from the table so that they can access it using application navigator. Avoid this step if users are not allowed to access the data using menu.
3. Create a Script Include in 'Hostel application' and select Accessible from 'All application scopes' and perform the necessary action here for e.g. Glide query on Hotel Table. Now, call this SI from script/BR.
Regards,
Nishant