Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon5.gif   How to remove "Remove user" button ?, posted by Mark Campbell on Wed Sep 4 11:48:55 2013 
    icon2.gif   Re: How to remove "Remove user" button ?, posted by Andreas Luedeke on Thu Sep 5 11:20:41 2013 
       icon2.gif   Re: How to remove "Remove user" button ?, posted by Mark Campbell on Thu Sep 5 12:56:37 2013 
Message ID: 67562     Entry time: Thu Sep 5 12:56:37 2013     In reply to: 67561
Icon: Reply  Author: Mark Campbell  Author Email: CAMP2MAR@police.nsw.gov.au 
Category: Question  OS: Windows  ELOG Version: 2.9-2475 
Subject: Re: How to remove "Remove user" button ? 

Andreas Luedeke wrote:

Mark Campbell wrote:

Is there a way to remove the "Remove user" button from non-Amin users config page?

BTW Stefan ELOG is a Great Solution!

Thanks Mark. 

Hi Mark,
I've had a quick look in the code: currently it is not possible to remove the "Remove user" button.
But a non-admin user would only be able to remove his own user account. Shouldn't a user have the ability to remove his own account?
 
Detect language » English
 

 

Andreas

 

 

Andreas

 Hi Andreas,

we would prefer only admin users to be able to remove user accounts.

I have just tested the Remove user command with a regular user account and get this error " Error: Command "Remove user" not allowed" so it looks like users can't remove their own account, so that is OK.

 

Thanks

Mark.

ELOG V3.1.5-fe60aaf