Can not delete user
Permalink
I am having a problem in which only the super user account can delete other user accounts.
There are members of the Administrators group which have full access to the User & Groups dashboard, but when they try to delete an account, they receive a message saying "You must be logged in as admin to remove user accounts."
Any ideas on what could be going on?
There are members of the Administrators group which have full access to the User & Groups dashboard, but when they try to delete an account, they receive a message saying "You must be logged in as admin to remove user accounts."
Any ideas on what could be going on?
I have advanced permissions on, and I checked the "Other Permissions" section in the Dashboard, can't find anything in reference to deleting users however. My administrators group has Access User Search, Access Group Search, Sign in as user, checked already - is there another setting that needs to be turned on?
Sorry, I'm sure its right under my nose, but I cant seem to find it.
I'm in 5.4.0.5 btw.
Sorry, I'm sure its right under my nose, but I cant seem to find it.
I'm in 5.4.0.5 btw.
I've replicated this on a test site via c5host.com. Sign in as super user, create a new account and add to administrators group. Log in as administrator and try and delete any account that is not the super user and you will see a message - "You must be logged in as admin to remove user accounts."
Frz, it doesn't look like that section has the ability to give users permission to delete. I tried looking around the code to make this happen, but couldn't find it. Any thoughts on how to make this work?
It doesn't work for anyone but the super admin currently. It's a hold-over from before we added the task-based permissions in 5.4. We can add that particular task permission sometime soon.
Thanks Andrew. Would love to see it in a future release.
Any workaround for this until it makes it into a release?
have you tried deactivating them instead of deleting them?
best wishes
Franz Maruna
CEO - concrete5.org
http://about.me/frz
best wishes
Franz Maruna
CEO - concrete5.org
http://about.me/frz
Don't understand why deleting users isn't a permission that could be given to admin accounts. I'm usually superadmin for my clients accounts (since I set up and develop the sites) and I retain that account so I can always go back and fix things later. Don't really like having to do things they should be able to do themselves.
Is this on the horizon?
Is this on the horizon?
Yes, it is. Mnkras actually posted a pull request on github that added this functionality but we are planning on beefing up the user permissions a little bit more than just adding a delete user task permission. It is definitely on the horizon.
This is a real show stopper for us, as our client needs to be able to delete user accounts.
The reason for this is that if a user signs up with an inappropriate user name, the site admin needs to be able to delete this account so that the user can re-register with a safer name.
If the admin just 'deactivates' the user, they cannot register again.
The reason for this is that if a user signs up with an inappropriate user name, the site admin needs to be able to delete this account so that the user can re-register with a safer name.
If the admin just 'deactivates' the user, they cannot register again.
The admin can delete users. Its just not an assignable permission you can give to any user, but if you login as administrator you can delete users today.
Hi,
As Franz say's anyone in admin can delete users.
As Franz say's anyone in admin can delete users.
I believe actually only the admin user (user number 1) can delete
users.. regardless, it is possible - it's just not something we easily
let you make anyone capable of doing.
best wishes
Franz Maruna
CEO - concrete5.org
http://about.me/frz
users.. regardless, it is possible - it's just not something we easily
let you make anyone capable of doing.
best wishes
Franz Maruna
CEO - concrete5.org
http://about.me/frz
ah yeah, but this is exactly my point. I don't want to give my client Super user (Admin 1) access, so i need to make Administrators able to delete users.
I will have to hack my own function together to remove the user from the database.
:(
I will have to hack my own function together to remove the user from the database.
:(
Hi,
Disagree - I set admin users and they in turn have certain privileges.
They are NOT Super Admin, but they can delete or edit others users.
Disagree - I set admin users and they in turn have certain privileges.
They are NOT Super Admin, but they can delete or edit others users.
actually you're absolutely right. We did this already. You can choose
which groups can delete users from Dashboard > Settings > Access >
Other Settings...
I've built an example (Frankly just to remind myself)
Login as
user: admin
pw: deletetest
go here:
http://deletetest.c5host.com/index.php/dashboard/settings/access_ta...
best wishes
Franz Maruna
CEO - concrete5.org
http://about.me/frz
which groups can delete users from Dashboard > Settings > Access >
Other Settings...
I've built an example (Frankly just to remind myself)
Login as
user: admin
pw: deletetest
go here:
http://deletetest.c5host.com/index.php/dashboard/settings/access_ta...
best wishes
Franz Maruna
CEO - concrete5.org
http://about.me/frz
I don't see those options. Screen grab attached.
upgrade to latest version?
Im running 5.4.1, is this a new new feature?
yeah i think its 5.4.2 which is why I didn't think we had it.
best wishes
Franz Maruna
CEO - concrete5.org
http://about.me/frz
best wishes
Franz Maruna
CEO - concrete5.org
http://about.me/frz
Click 'Add Group or User' and set permissions.
But thats only the first part?
See attached
But thats only the first part?
See attached
goto>
/dashboard/settings/-/set_permissions/