Helper function to create a PermissionRule for a specific resource type using a PermissionResourceRef.
Helper function to ensure that PermissionRule definitions are typed correctly.
Use the version of createPermissionRule that accepts a resourceRef option instead.
createPermissionRule
resourceRef
Helper function to create a PermissionRule for a specific resource type using a PermissionResourceRef.