Retrieves the permission details for a specific user, group, or workspace within the package, including their role and access level.
Authorization: Requires package admin or modeler permissions.
Parameters: Use isWorkspace to specify if the resource is a workspace.
Response: Returns permission object with role and metadata.