parent
123488cfc0
commit
32c6a03000
|
@ -49,19 +49,6 @@ class Role
|
|||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Add a permission to the role
|
||||
*
|
||||
* @param string $permission
|
||||
*
|
||||
* @return $this
|
||||
*/
|
||||
public function addPermission($permission)
|
||||
{
|
||||
$this->permissions[$permission] = $permission;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the permissions of the role
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue