Allow hub manager access to any dooject

×

狀態訊息

You are not a member of this team. If you want to be part of this team, click on 'Subscribe to this team'.
類型: 
Feature request
狀態: 
Resolved
優先: 
Normal
描述: 

Actually there is only a role hub manager and super hub manager.

Please consider: Give hub managers in general the right to access any laptop? Or to define a role hub manager+, offering specific hubs access to 3rd laptops, but not full super hub access?

回應

jordi's 的頭像
jordi 在 週六, 11/21/2015 - 13:11 發表

Thanks for your input Ralf. I created a new role. To avoid having too many hub, superhub, hub++ roles, this new role is instead called 'laptop manager'.

Please let me know via email which users you would like to give this role to.

jordi's 的頭像
jordi 在 週六, 12/12/2015 - 07:26 發表

This role is currently not visible because at the moment only a few users need to have this universal edit rights role. So if you need someone to have the laptop manager role, please send me an email with that person's username and i will add it. If this practice becomes unscalable, we will figure out better ways in the future.

wendy's 的頭像
wendy 在 週六, 12/12/2015 - 08:53 發表

Sorry, since it says "Hub manager-organize hub inventory", I was assuming hub manager can edit laptops status. I don't need to grant universal edit right, I just need the hub managers to be able to change state of the laptops from his/her own source group. The problem my hubs ran into is the people who hosting the QA workshop can not change the laptop status. And the person who hosts the workshop varies each time. It happens to both Taiwan and California hub. Can you let me know how other hubs address this issue? Thanks.

jordi's 的頭像
jordi 在 週六, 12/12/2015 - 10:25 發表

We have several mechanisms by which multiple users can edit the same laptop, but the case you are describing is new and i think it is important.

Could you write a new task request describing this feature? what i can implement is the following rule: "Labdooers who are hub managers will be able to edit all the dootronics that are assigned to their hubs"

Gregg Marshall's 的頭像
Gregg Marshall 在 週六, 12/12/2015 - 10:39 發表

Jordi

Does the site have Organic Groups installed? I think this capability might be possible if it is.

Gregg

jordi's 的頭像
jordi 在 週六, 12/12/2015 - 10:58 發表

Yes, our Labdoo teams module is driven by the OG engine. OG is very useful, it is simple but powerful, and allows us to build on top the lbd_teams layer: https://github.com/Labdoo/Labdoo/tree/master/modules/custom/lbd_teams

For this request, however, we can use a more tailored solution based on hook_node_access(). Upon viewing a laptop, this hook will get invoked, and at that point we can check whether the laptop belongs to a hub for which the user is a manager.