Check if a user or a group can perform an operation to the specified content. The operation to check must be provided. The userโs account ID or the ID of the group can be provided in the subject to check permissions against a specified user or group. The following permission checks are done to make sure that the user or group has the proper access: