Forum

Ask, reply and learn. Join the community of Akaunting.

New Discussion

Can't assign custom roles

Michael Gschwandtner   ( User )

Commented 5 years ago

When I create new roles, they don't show up in the Edit user panel so users can't be assigned roles except Admin and Manager.


Here is a screenshot that shows where the issue is.


https://pasteboard.co/I7kKWgu.jpg


I am running Akaunting 1.3.16 on a Digital Ocean droplet.


Is this a bug, or is there a different way to assign roles to users?

Marco Bridge   ( User )

Commented 5 years ago

You should give Read Admin Panel permission.

Michael Gschwandtner   ( User )

Commented 5 years ago

Thank you for your quick response. Unfortunately it does not change the result.


I even tried givin all permissions, but it still does not show up in the Edit User page.

Michael Gschwandtner   ( User )

Commented 5 years ago

If I change the the entry of sdk_user_roles table in the database directly then the user can log-in an access the company, so the permissions seem to be correct.

Lucas Carvalho   ( User )

Commented 5 years ago

 


I am having the same problem in version 1.3.15. I am also unable to create or edit new companies or new users

Michael Gschwandtner   ( User )

Commented 5 years ago

 I found the solution by going through the code.


The role must not have the "Read Customer Panel" permission set. If this permission is set, it get's hidden in edit user.

Please login or register to leave a response.

Showing 1 to 6 of 6 discussions