mirror of
https://github.com/espocrm/espocrm.git
synced 2026-06-28 06:56:05 +00:00
docs fixes
This commit is contained in:
@@ -401,6 +401,9 @@ class AclManager
|
||||
return $this->checkUserPermission($user, $target, 'assignmentPermission');
|
||||
}
|
||||
|
||||
/**
|
||||
* Create a wrapper for a specific user.
|
||||
*/
|
||||
public function createUserAcl(User $user) : UserAclWrapper
|
||||
{
|
||||
$className = $this->userAclClassName;
|
||||
|
||||
@@ -91,7 +91,7 @@ class ApplicationState
|
||||
}
|
||||
|
||||
/**
|
||||
* Whether logged as admin.
|
||||
* Whether logged as an admin.
|
||||
*/
|
||||
public function isAdmin() : bool
|
||||
{
|
||||
@@ -101,7 +101,7 @@ class ApplicationState
|
||||
|
||||
|
||||
/**
|
||||
* Whether logged as api user.
|
||||
* Whether logged as an api user.
|
||||
*/
|
||||
public function isApi() : bool
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user