I’m trying to use a Code Studio Access Check to allow certain users to view a page
I’m doing cs.get_session_user_id() then a seach to check what groups a user is in and allow access that way.
What I need though is access to the page base object record id, so I can check that the case record type is attached to a group the user is in.
I’ve noticed the params.context_record_id always seems to be null, despite the page having a base object. The params don’t really include anything useful (even just the URL would do as that has the id in it also).
Any ideas how to get the base object record id?
Thanks,
James