How to allow to role to create users only?

Moderator: crythias

Post Reply
andie
Znuny newbie
Posts: 23
Joined: 07 Jun 2010, 14:27
Znuny Version: 2.4.7
Location: Ukraine

How to allow to role to create users only?

Post by andie »

Hello.

I would appreciate if you answer the question. The question is: I must create role (I decided to use roles, but not groups), and users of this role must have only one privilege - to create/update/delete users and give them a necessary role. I have empty role created that called admin. As I understand I should give rights in roles<->users, but all rights there operate with ticket. Is there a way out?

Thank you.
andie
Znuny newbie
Posts: 23
Joined: 07 Jun 2010, 14:27
Znuny Version: 2.4.7
Location: Ukraine

Re: How to allow to role to create users only?

Post by andie »

It's really odd.

As per text below in form: "Full read and write access to the tickets in this group/queue." When I give this right in admin group, the menu of administration appears in user menu. But this right operates with tickets! Thus, giving right to tickets indirectly gives right to administration menu.

Moreover. If I give the rw right it gives all others rights to group. But it's not the same, because I can give all rights to group except rw, so in this way the admin menu is absent.

I'm really confused.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to allow to role to create users only?

Post by jojo »

For groups like admin, faq, faq_admin, stats only the permissions ro and rw are used as these groups are used for controll access to frontend modules
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
andie
Znuny newbie
Posts: 23
Joined: 07 Jun 2010, 14:27
Znuny Version: 2.4.7
Location: Ukraine

Re: How to allow to role to create users only?

Post by andie »

Thank you indeed, it works. Can you tell if I can disable ticket menu for administrator?
andie
Znuny newbie
Posts: 23
Joined: 07 Jun 2010, 14:27
Znuny Version: 2.4.7
Location: Ukraine

Re: How to allow to role to create users only?

Post by andie »

Sorry, my mistake, it doesn't work. I gave "rw" access by mistake. Now I give "ro" access for my role to group admin. After this I login as a user of my group. So this user doesn't have admin menu. I other words "rw" access give access to admin menu, but "ro" doesn't give.
jojo
Znuny guru
Posts: 15019
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: How to allow to role to create users only?

Post by jojo »

For having adminpermissions you'll need rw permissions on the group admin.
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Post Reply