Skip to content
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

Custom User Roles #131

Open
jcampbell05 opened this issue Jun 19, 2018 · 7 comments
Open

Custom User Roles #131

jcampbell05 opened this issue Jun 19, 2018 · 7 comments

Comments

@jcampbell05
Copy link

We want to only allow certain users to be able to administrate orders that are assigned to them, is this possible ?

@sugarfree1
Copy link
Contributor

Unfortunately, it's not possible now.
Could you give us more context, please? What is you business process and why do you need this feature?

@jcampbell05
Copy link
Author

We want to deliver orders for locations for the end-user to collect. We want these locations to be able to mark when an order has been collected but to only see the orders that will arrive at that location so they don't mark orders for other locations as collected :)

@sugarfree1
Copy link
Contributor

If I got your idea correctly then you need roles for order types. Is it so?

@jcampbell05
Copy link
Author

@sugarfree1 roles for order location.

@sugarfree1
Copy link
Contributor

Just to clarify, location is a custom field in your business process and it is stored in your order data. So you want to filter orders by custom fields for users. Did I get you idea correctly?

@jcampbell05
Copy link
Author

Yes :) so User A only sees orders for User A based on a field (or even just the business logic assigning it to that user) and User B only sees orders for User B :)

@sugarfree1
Copy link
Contributor

sugarfree1 commented Jun 20, 2018

Ok, I got it. We are planning to add the user groups feature in future and try to cover your use-case.

For now I could advise you a workaround. You could assign orders with a third party tool through REST API and filter them on the index page. Unfortunately the orders would still remain visible to other users.

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

2 participants