Hey theree, I am working on converting a use case to be RV friendly the idea is to have a Mandatory Control property with Allowed Org beign configured. I can’t figure tho how to set that property and populate it with an Action. I know that orgs are not supported in Action Form as the drop down would only let you select a Marking not an Org. I was trying to make a TS function for this to populate that property based on User attributes of Org RID, but I am facing some TS issues on types that i cant figure out.
Did anyone manage to do a similar setup here?
To set the property, you can modify the base type to a mandatory control property. I am not sure on the second part, I have not tried to back the action with a function.
Yep already have that, but there doesnt seem to be a easy/decent way to populate that property when it comes to a Org Marking Id.
Action Forms don’t support it, they only support simple Markings, and function TS or Python don’t have APIs to get that information based on a User. You could get the Org RID, but then there is no way to convert that to the Org Marking Id.
The only work around i got to so far, was have a Object Type hold that mapping of Org Id <> Org Marking Id, use a input of user id to get that Org RID from the user attributes and then do a ontology search. Seems a very hacky way to set up a security property tho
