Can't create sys_user_group records from scoped application
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2021 03:01 AM
Hi all,
I have a scoped application which should create records in the table "sys_user_group".
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2021 03:10 AM
Hi
Have you tried to create your fix script in Global application , instead of creating it under scoped application?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2021 03:30 AM
Hi Jan,
I have encountered this issue before and done the following to get it working:
1. I have navigated to System Applications > Application Cross-Scope Access [Ensuring I am already in the custom application scope].
2. Create a new Cross scope privilege record, with source scope being your application and the target scope being Global.
3. The target name should be the value of the table you are accessing, in this case the sys_user_group table.
4. Make sure you set the operation to Read and status as Allowed.
Let me know if this doesn't solve your issue.
Thanks,
Enrique
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2021 04:17 AM
Hi
thanks for the fast response.
There are already three records (for each operation) in this table:
source_scope: MyScopedApp
target_scope: Global
target_name: sys_user_group
operation: Create, Read, Write
status: allowed
sys_scope: MyScopedApp
This should fine right ?
If I make the fix script global the purpose of my scoped application would be wasted.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-16-2021 04:30 AM
Hi Jan,
Please follow this guide to dig in deeper into the issue you are having:
Also I would suggest sharing the actual code you have written within the fix script to further troubleshoot.
Thanks,
Enrique