3
0
Fork 0
mirror of https://github.com/farmOS/farmOS.git synced 2024-02-23 11:37:38 +01:00
Commit graph

24 commits

Author SHA1 Message Date
Jamie Gaehring b27b0400c3 Use farm_access_allow_origin variable to set headers.
Delete var's inside uninstall hook.
2019-11-21 18:26:41 -05:00
Jamie Gaehring e224670296 Add permissions and form for admin'ing the access module.
Remove mention of quantity in comments.
2019-11-21 18:26:32 -05:00
Michael Stenta fa35ac74e8 Allow API access from https://farmOS.app. 2019-08-21 10:32:06 -04:00
Michael Stenta 1176a2f958 Add farm_access submit function to permissions form if any farm roles exist. 2019-02-17 20:01:45 -05:00
Michael Stenta f3200d50ca Do not grant the "administer users" permission. 2019-02-17 20:00:22 -05:00
Michael Stenta b7965ef655 Remove role_delegation permissions. 2019-02-17 20:00:22 -05:00
Michael Stenta e07f160929 Move default roles (Manager, Worker, Viewer) to separate module. 2018-12-27 10:42:37 -05:00
Michael Stenta ef55a893f1 If this role has 'config' access, allow them to administer users. 2018-12-27 10:42:37 -05:00
Michael Stenta b8b75ff864 Refactor taxonomy_farm_access_perms() to use high-level access rules. 2018-12-27 10:42:37 -05:00
Michael Stenta 0f6373c1e4 Change farm_access_entity_perms() to look for 'taxonomy_term' instead of 'taxonomy'. 2018-12-27 10:42:37 -05:00
Michael Stenta 6a905028e1 Allow all roles to view user profiles. 2018-12-27 10:42:37 -05:00
Michael Stenta f933727321 Allow all roles with high-level config access to delegate user roles. 2018-12-27 10:42:37 -05:00
Michael Stenta bb34395d3e Add a helper function for generating entity bundle permissions lists for high-level access rules, and use it for assets, plans, and logs. 2018-12-27 10:42:37 -05:00
Michael Stenta e9f399d178 Add ability to define high-level access rules in hook_farm_access_roles(). 2018-12-27 10:42:37 -05:00
Michael Stenta 93dfc7214a Simplify farm_access.api.php documentation. 2018-12-27 10:42:37 -05:00
Michael Stenta 3e03174c61 Create an internal machine name for farm access roles. 2018-12-27 10:42:37 -05:00
Michael Stenta 236a4c9e34 Move REST API access permissions into farm_api module (from farm_access). 2018-09-05 12:54:50 -04:00
Michael Stenta 8818b1aad5 Add support for farm plan entity permissions in farm_access module. 2017-11-24 21:00:23 -05:00
Michael Stenta 3bcf58ee8e Create a function for loading farm roles. 2017-08-29 15:47:44 -04:00
Michael Stenta 4018c3b7bb Implement hook_hook_info() in farm_access module. Move implementations to farm_access.farm_access.inc. 2017-06-28 11:35:36 -04:00
Michael Stenta e03d661475 Move user and role_delegation perms from farm_admin to farm_access. 2017-06-27 15:39:29 -04:00
Michael Stenta 53be651d85 Further consolidate default asset, log, and term access perms into farm_access module itself. 2017-06-27 15:39:29 -04:00
Michael Stenta a3ac05d10c Delete readme files from all the merged modules and farm_theme (except for some of farm_access/README.md, which is useful to keep). 2017-05-26 10:53:02 -04:00
Michael Stenta 09739b9f4c Move to modules/farm/farm_access in preparation for #2876992. 2017-05-26 09:42:42 -04:00