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?

hursey013
View Replies:
frz replied on at Permalink Reply
frz
theres separate permissions for these adminy things now.

goto>
/dashboard/settings/-/set_permissions/
hursey013 replied on at Permalink Reply
hursey013
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.
hursey013 replied on at Permalink Reply
hursey013
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."
rdains replied on at Permalink Reply
rdains
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?
andrew replied on at Permalink Reply
andrew
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.
rdains replied on at Permalink Reply
rdains
Thanks Andrew. Would love to see it in a future release.
hursey013 replied on at Permalink Reply
hursey013
Any workaround for this until it makes it into a release?
frz replied on at Permalink Reply
frz
have you tried deactivating them instead of deleting them?

best wishes

Franz Maruna
CEO - concrete5.org
http://about.me/frz
invision replied on at Permalink Reply
invision
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?
andrew replied on at Permalink Reply
andrew
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.
frz replied on at Permalink Reply
frz
yup.

best wishes

Franz Maruna
CEO - concrete5.org
http://about.me/frz
balloondog replied on at Permalink Reply
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.
frz replied on at Permalink Reply
frz
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.
Steevb replied on at Permalink Reply
Steevb
Hi,

As Franz say's anyone in admin can delete users.
frz replied on at Permalink Reply
frz
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
balloondog replied on at Permalink Reply
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.

:(
Steevb replied on at Permalink Reply
Steevb
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.
frz replied on at Permalink Reply
frz
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
balloondog replied on at Permalink Reply 1 Attachment
I don't see those options. Screen grab attached.
frz replied on at Permalink Reply
frz
upgrade to latest version?
balloondog replied on at Permalink Reply
Im running 5.4.1, is this a new new feature?
frz replied on at Permalink Reply
frz
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
Steevb replied on at Permalink Reply 1 Attachment
Steevb
Click 'Add Group or User' and set permissions.

But thats only the first part?

See attached