Posts

Post marked as solved
8 Replies
525 Views
I made an Authorization plug-in and I will use it to evaluate several rights. So, I need to get a right that is requested by a client in a plug-in. Usually, I can get a right by calling 'GetHintValue' callback function with 'authorize-right'. However, sometimes there is no 'authorize-right' in hints.(calling AuthorizationCopyRights with flags kAuthorizationFlagDefaults | kAuthorizationFlagExtendRights [without kAuthorizationFlagInteractionAllowed]) logs for SecurityAgentHelper With hints: { 		"client-path" = "name: ... 		"client-pid" = "name: ... 		"client-type" = "name: ... 		"client-uid" = "name: ... 		"creator-audit-token" = "name: ... 		"creator-pid" = "name: ... 		reason = "name: ... 		tries = "name: ... } I Also tested 'GetArguments' callback function, but it always returns errAuthorizationInternal. Is there any way to get a right in a plug-in?
Posted
by cobaltic.
Last updated
.