Access Control
davexoxide - June 30, 2009 - 15:25
| Project: | Multistep |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | vkareh |
| Status: | closed |
Jump to:
Description
Some roles should have the ability to view forms without multistep.

#1
I'm thinking that since that is not always a desirable feature, say if the form is unusually long (which will take a while to render) we should make it optional. Maybe a button on the top that says "view the complete form" or something similar? What are your thoughts on this?
#2
I programmed in a way for users with "toggle multistep" permissions to toggle back and forth between the entire form and the multistep form. Check out the new commit and see if this works for you.
#3
This feature would give the desired result if it actually worked.
What I'm seeing is that 0 is actually being returned as FALSE.
So $step never gets set to 0 and the form returns to step 1.
Line 354
if (is_numeric(arg(3)) && arg(3) == 0 && user_access('toggle multistep')) {$step = 0;
}
#4
Did you try the new snapshot (I just committed it a few minutes ago)? I took a different approach at setting field
#access. It might solve the problem for you. It actually works for me.#5
Automatically closed -- issue fixed for 2 weeks with no activity.