Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@lscott3
Last active December 22, 2015 15:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lscott3/6490943 to your computer and use it in GitHub Desktop.
Save lscott3/6490943 to your computer and use it in GitHub Desktop.
$authority->allow('manage', 'License', function($self, $user){
return $self->company()->id === $user->company()->id;
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment