<blockquote>
  <p>doesn't work if the client doesn't have the "Assign user groups and permissions" checked.</p>
</blockquote>

<p>That's not a limitation of the plugin, but a requirement of Craft.</p>

<blockquote>
  <p>Is there a way to force every new user created in the CP by the client into a default group?</p>
</blockquote>

<p>Yes, that's what the <a href="https://github.com/lindseydiloreto/craft-autoassignusergroup" rel="nofollow">previously linked plugin</a> will do, with the caveat that the currently logged in user has to have <code>assignUserPermissions</code> permissions.</p>

<p>The only way I can think of to do what you're trying to accomplish is build the user administration stuff for your client on the front-end of the site.  That way - though a plugin - you've got complete control over the user management business logic.</p>

CC BY-SA 3.0
2015-07-18T09:31:07.227Z
Thanks Brad. A small sub-question - can I hide the "Permissions" tab trough code? So the user would still have permissions, but he wouldn't see it in CP. I'd have to do this only for one user with known $userId.
Jure Srpcic
CC BY-SA 3.0
2015-07-18T16:41:14.320Z
I think you'd need to use something like this: https://github.com/lindseydiloreto/craft-cpcss
Brad Bell
CC BY-SA 3.0
2015-07-19T07:43:09.947Z
Great, haven't noticed that plugin before. Thanks a lot!
Jure Srpcic
CC BY-SA 3.0
2015-07-17T18:08:15.927Z
2015-07-17T18:08:15.927Z
Brad Bell
<p>I need my client (typical editor account in CMS) to be able to add/modify/delete users in the CP. I don't want him to have access to groups/permissions for users, but I need to put every user he creates into the same group (Site Users).</p>

<p>The existing plugin - <a href="https://github.com/lindseydiloreto/craft-autoassignusergroup" rel="nofollow">https://github.com/lindseydiloreto/craft-autoassignusergroup</a> - doesn't work if the client doesn't have the "Assign user groups and permissions" checked.</p>

<p>Is there a way to force every new user created in the CP by the client into a default group? Or a way to give him "Assign user groups" but not "and permissions"?</p>

CC BY-SA 3.0
2015-07-17T15:58:26.747Z
There's also the Sanction plugin which hides the "permissions" part for selected user groups. https://github.com/joshuabaker/craft-sanction . This is close to what I need, but the client can still assign new users to any group.
Jure Srpcic
<users><permissions>
Enable client to add users to user group but not set permissions
# Enable client to add users to user group but not set permissions

(Asked by: username_0 on 2015-07-17)

I need my client (typical editor account in CMS) to be able to add/modify/delete users in the CP. I don't want him to have access to groups/permissions for users, but I need to put every user he creates into the same group (Site Users).

The existing plugin - <https://github.com/lindseydiloreto/craft-autoassignusergroup> - doesn't work if the client doesn't have the "Assign user groups and permissions" checked.

Is there a way to force every new user created in the CP by the client into a default group? Or a way to give him "Assign user groups" but not "and permissions"?

**Tags:** users, permissions
> **Comments:**
> **username_0**: There's also the Sanction plugin which hides the "permissions" part for selected user groups. https://github.com/joshuabaker/craft-sanction . This is close to what I need, but the client can still assign new users to any group.  

---

## 1 answers

### Answer by username_1 on 2015-07-17. Score: 2 | Accepted answer

> doesn't work if the client doesn't have the "Assign user groups and permissions" checked.

That's not a limitation of the plugin, but a requirement of Craft.

> Is there a way to force every new user created in the CP by the client into a default group?

Yes, that's what the [previously linked plugin](https://github.com/lindseydiloreto/craft-autoassignusergroup) will do, with the caveat that the currently logged in user has to have `assignUserPermissions` permissions.

The only way I can think of to do what you're trying to accomplish is build the user administration stuff for your client on the front-end of the site. That way - though a plugin - you've got complete control over the user management business logic.

> **Comments:**
> **username_0**: Thanks Brad. A small sub-question - can I hide the "Permissions" tab trough code? So the user would still have permissions, but he wouldn't see it in CP. I'd have to do this only for one user with known $userId.  
> **username_1**: I think you'd need to use something like this: https://github.com/lindseydiloreto/craft-cpcss  
> **username_0**: Great, haven't noticed that plugin before. Thanks a lot!  

---

