dont show page content for resellers withouth required permissions to actually do something
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -391,7 +391,7 @@ class IpsAndPorts extends ApiCommand implements ResourceEntity
|
||||
*/
|
||||
public function update()
|
||||
{
|
||||
if ($this->isAdmin() && ($this->getUserDetail('change_serversettings') || !empty($this->getUserDetail('ip')))) {
|
||||
if ($this->isAdmin() && $this->getUserDetail('change_serversettings')) {
|
||||
$id = $this->getParam('id');
|
||||
|
||||
$result = $this->apiCall('IpsAndPorts.get', [
|
||||
|
||||
Reference in New Issue
Block a user