Like the title say...
Say there are 4 different role of user (Warehouse Staff, Sales Staff, Purchasing Staff, Managers) that need to edit an [Item]. And the fields in [Item] form that can be filled is dependent upon the role of the user.
Let's say the one who can add new item and edit and enter its general info and inventory is the Warehouse Staff.
Sales Staff is responsible for the sales information (edit capability) of the said item, and able to read the general & inventory info.
Purchasing is responsible for the purchasing info (edit capability), and also able to read the general & inventory info, but they cannot see sales info.
Managers are able to add new item, edit, and view all of the info (general, inventory, sales, and purchase).
There's a chance that two people is editing different parts of the form. (ie. both Accounting and Sales are editing their respective section)
Should I divide it into a :
1. different form altogether
By this I mean each section is accessed through different url (ie. ../items/sales-info or ../items/general-info, accessed from Item List page - which shows a table of items with action column for edit and delete purposes. Then there'll be a 4 edit buttons: 1 for General Info, 1 for Sales Info, and so on).
Or it used the format of No.2 below, but the tabs acts as link to another page, instead of to a hidden div in current page.
2. separate it as tab sections ?
And where should the save button for the form resides if its no.2 ?
I'm more leaning to No.2, but I'm a bit hesitant about the UX. Anyways, this is what I think about both options:
No. 1. It's much clearer since it's save-this-page-first-or-you'll-lose-your-data, and putting save button on each form encouraging this way of thinking. But if the user need to look at general info, they're forced to change pages (more load time). (menu is generated according to the user role)
No. 2. Changing sections to view info is easier and faster since all have been loaded and no need to change pages back and forth. But, save buttons placement might be a little confusing for users which role enabled them to edit multiple tabs. [is the button only save this section? or the whole form?] confusion.
Any insight to a better solution is appreciated. Thanks!