minor doc fixing
parent
b3856d872c
commit
1da008b3b4
|
@ -13,11 +13,13 @@ What are the differences between the user levels?
|
||||||
There are 2 user levels available: regular user and administrator.
|
There are 2 user levels available: regular user and administrator.
|
||||||
|
|
||||||
Administrators:
|
Administrators:
|
||||||
|
|
||||||
* Manage servers.
|
* Manage servers.
|
||||||
* Manage users.
|
* Manage users.
|
||||||
* Edit global configuration.
|
* Edit global configuration.
|
||||||
|
|
||||||
Regular users:
|
Regular users:
|
||||||
|
|
||||||
* View the status of their assigned servers.
|
* View the status of their assigned servers.
|
||||||
* View the history and logs of their assigned servers.
|
* View the history and logs of their assigned servers.
|
||||||
* Run the updater on their assigned servers.
|
* Run the updater on their assigned servers.
|
||||||
|
|
|
@ -398,7 +398,7 @@ abstract class AbstractController implements ControllerInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set the minimum required user level for this module
|
* Set the minimum required user level for this controller
|
||||||
* @param int $level
|
* @param int $level
|
||||||
* @return \psm\Module\AbstractController
|
* @return \psm\Module\AbstractController
|
||||||
*/
|
*/
|
||||||
|
@ -408,7 +408,7 @@ abstract class AbstractController implements ControllerInterface {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the minimum required user level for this module
|
* Get the minimum required user level for this controller
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
public function getMinUserLevelRequired() {
|
public function getMinUserLevelRequired() {
|
||||||
|
|
|
@ -38,4 +38,10 @@ interface ControllerInterface {
|
||||||
* Initialize the module
|
* Initialize the module
|
||||||
*/
|
*/
|
||||||
public function initialize();
|
public function initialize();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the minimum required user level for this controller
|
||||||
|
* @return int
|
||||||
|
*/
|
||||||
|
public function getMinUserLevelRequired();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue