ProductOpener::Permissions - defines user permissions and provide a has_permission function to check them
Check if the user has permission to revert a product.
Check if the user has a specific permission.
Reference to the request object.
Permission to check.
1 if the user has the permission, 0 otherwise.