Skip to content

Can't create a Person after login with a role different from Administrator #2178

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
alucenafaria opened this issue Apr 15, 2025 · 0 comments
Assignees

Comments

@alucenafaria
Copy link

Bug report

Title

Customized Role doesn't show "Create Person" button (only option is "Export")

Issue Description

After creating a new Role (e.g Staff, with rights for everything except access to "Configuration") I can't create a new Person (only option in Persons is Export)

Preconditions

Please provide as detailed information about your environment as possible.

1. Krayin 2.1, installed correctly and working (with the exception of the issue described above).

Steps to reproduce

It is important to provide a set of clear steps to reproduce this bug.If relevant please include code samples.

  1. Create a new Role, called Staff;
  2. Give "Staff" all rights other that accessing Configuration;
  3. Assign the Staff Role to a user;
  4. Login with that user;
  5. Go to Person;
  6. There is no way to create a Person since the "Create Person" button is missing. The only button available is "Export". But since the Staff role has all rights regarding creating, editing or deleting a Person, we should see the "Create Person" button.

Expected result

Should be able to add persons, since the role includes those rights. But currently, I can only create a person if I sue the Administrator rights (i.e. all right assigned).

  • Creating the Staff Role (1 of 2)

Image

  • Creating the Staff Role (2 of 2)

Image

No "Create Person" button on Contacts>Person:

Image

Actual result

Can see a "Create Person", only "Export" button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants