I have a workflow where different screens are used and showed to differents users. I need to limit the access to several edition screens just for a user role.
So, is it possible to limit the access to the edition screen (it is showed when user makes a transition) depending on the user role?
Other solution could be limit the posibility to make the transition depending on the role, couldn't be?
Thank you!
Screens are determined by workflow and issue screen schemes, not by user.
You're right in your solution though - you can set up transitions that duplicate, but have different screens and conditions.
For example, have
Open -> Closed (1), with Screen 1, and a condition of "only group X"
Open -> Closed (2), with Screen 2, and a condition of "not group X"
(This is an over-simplifciation, as you'd need a bit of code to provide an explicit "not group X", but it's intended as an explanatory example, not full setup)
Aren't there any property associated with transitions or screens to setup it?
How could I code it? through a plugin? Could you recommend me one?
Thank you very much!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You don't need any coding to do most of this, just add the transitions, screens and conditions to your workflow.
I've used a condition of "not group X" to keep the example simple, but that might not be the right condition for your needs. If it is though, I would reach for ScriptRunner, as it can put in conditions like that with only minimal coding (my instinct is you might be able to do that in one line)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It could be sample if I show you the workflow I have implemented.
"Definir tratamiento" screen could be pop up through red square transitions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ok, so set up the transitions and apply appropriate conditions to them.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have realized where the condition options are. Thanks for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.