< 142025-05-15⋎16 >

Topic for #farmOS is: farmOS (farmos.org) is a free and open source, web-based farm management system. User guide: farmos.org/guide/ - Forum: farmOS.discourse.groupSet by mstenta on 2021-06-15 at 12:52
12:02*MiriamNugent[m] has joined
12:34MiriamNugent[m]Hi mstenta! I'm working on the [farm_multitenant](www.drupal.org/project/farm_multitenant) module and need some help with managed roles. Is there away to remove or override managed role permissions? By default the Manager and Worker roles have 'create all' permission on all entity types. We want to remove the 'create organization' permission because a member of a particular farm organization should not be able to create another
12:34MiriamNugent[m]organization. Is there some way we can do that?
13:30mstenta[m]Hi Miriam Nugent!
13:30mstenta[m]Ah! So I think we might be taking care of that in the pull request already...
13:31mstenta[m]See: github.com/farmOS/farmOS/pull/849#issuec
13:32mstenta[m]tl;dr: the Worker role will have explicit permission to create all entity types except organization
13:32mstenta[m]Manager will be able to
13:33mstenta[m](Now would be a great time to review the recent work paul121 has been doing in that PR! In case it overlaps with anything you're doing...)
14:36MiriamNugent[m]that looks like what I need mstenta I'll check it out. Thank you!
16:02symbioquine[m]farmOS weekly dev call on now - all are welcome! meet.jit.si/farmos-dev
17:23paul121[m]<MiriamNugent[m]> "that looks like what I need..." <- I made this change for the `farm_worker` role in this commit: github.com/farmOS/farmOS/pull/849/commit
17:23paul121[m]If you want to copy/paste that into your dev environment you can test. It would be good to have someone test it!

< 142025-05-15⋏16 >