0

I am working on a ticket system in my current project (Drupal 8) where user can assign a ticket to particular user. The user field is populated through entity reference and it is filtered using 'Views: Filter by an entity reference' (users belonged to a particular role need to be shown there). For normal users its resulting in 500 Internal server error. It works perfectly if I give 'Administer users' permission to current user role. But without that it will break. I have given 'view user information' permission to all users. Is there any work around without giving 'Administer users' permission to all users as it is not a viable option.

1

1 Answer 1

0

If you need to show the users from a particular role you don't need to rely on views filter option. Default method is enough, there will be an option to filter the users using roles. I know its the answer that you are seeking. But its a work around. But if you need to add other filter parameters this method will not be enough.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.