The group and user columns in sys_user_grmember table can be made mandatory?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 11:37 AM
The group and user columns in sys_user_grmember table are not mandatory, so there is no strict way to get correct data. In our instance we have lot of record where group column is empty.
Out of the box there is an ACL to prevent this bad data but our dev write code using gliderecord which ignore ACL.
Not a fan to change OOB existing tables but any drawback by making this 2 columns mandatory ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2023 07:45 PM - edited 07-26-2023 05:01 AM
Hello @olivierneveu
Greetings!
yes, you can make them mandatory. I believe it will not have any major impacts/side effects making them mandatory.
If possible, Change the GlideRecord to GlideRecordSecure which will not ignore ACLs
Please hit the thumb and Mark as correct based on Impact!!
Kind Regards,
Ravi Chandra.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 04:28 AM
OOB they are not mandatory, checked in a personal instance. Changing behaviour of 100+ developers is out of reach.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-26-2023 04:59 AM
sorry my bad, I have modified my comment. Thank you!
Kind Regards,
Ravi Chandra.