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

38 commits

Author SHA1 Message Date
Michael Stenta
c0f02dfc0e Update all core_version_requirement to ^10. 2023-10-30 12:07:29 -04:00
Michael Stenta
9b4700dced Limit permissions of Account Admin role. 2023-10-06 14:15:33 -04:00
Michael Stenta
c5b7d25d29 Invalidate the user_role:farm_account_admin cache tag when the account admin settings form is submitted. 2023-10-06 14:15:33 -04:00
Michael Stenta
978281c212 Add a separate permission for configuring the Account Admin role module settings. 2023-10-06 14:15:33 -04:00
Michael Stenta
e4b656af74 Add a setting for allowing Account Admins to assign Account Admin role. 2023-10-06 14:15:33 -04:00
Michael Stenta
05a3b374bb Restrict access to user 1 so that Account Admins cannot edit it. 2023-10-06 14:15:33 -04:00
Michael Stenta
501d573b19 Add an Account Admin role with permission to administer users and assign managed roles. 2023-10-06 14:15:32 -04:00
Paul Weidner
e4345d735c Move the import and taxonomy menu items from system.admin to farm.setup
This allows us to remove the access administration pages permission.
2023-10-06 13:54:59 -04:00
Paul Weidner
5ca5f1a3ab Fix phpcs error that use statements should be sorted alphabetically 2023-06-13 09:53:49 -07:00
Paul Weidner
0effe2167e Fix managed role form alter for individual role permissions page #610 2022-11-29 11:48:36 -08:00
Michael Stenta
fcfee8f72d Mark ManagedRolePermissions and ManagedRolePermissionsManager as @internal. 2022-11-16 14:37:55 -05:00
Paul Weidner
cbef969091 Use null coalescing operator in ManagedRolePermissionsManager 2022-11-15 10:53:48 -05:00
Michael Stenta
6ac668d133 Add alterInfo() calls to fix "Plugin definitions cannot be altered" PHPStan errors. 2022-09-13 10:23:48 -04:00
Paul Weidner
ae7ea19e22 Explain reasons for separate switch statements. 2022-01-14 14:56:33 -05:00
Paul Weidner
312df1354a Add data_stream as a managed entity type. 2022-01-14 14:56:33 -05:00
Michael Stenta
293717e95b Put modules into "farmOS (Defaults)" group: farm_land_types, farm_structure_types, farm_role_roles. 2021-09-20 16:10:19 -04:00
Michael Stenta
5f232b4319 Move all sub-modules into sub-directories called "modules" for consistency. 2021-09-17 16:11:38 -04:00
paul121
af0b086180 Use the getManagedRoles function to simplify loading of managed roles. 2021-07-30 15:30:40 -04:00
paul121
25d38173f8 Add getManagedRoles function to the managed role permissions manager
service.
2021-07-30 15:30:40 -04:00
Michael Stenta
4259890f2c Use CSS to show managed role permissions. 2021-07-22 17:39:52 -04:00
Michael Stenta
9ae8dbed32 Issue #3224684: Allow managed roles access to entity revisions tab 2021-07-22 10:01:44 -04:00
paul121
19a2169ac1 Add quantity permissions to managed roles. 2021-03-09 08:21:28 -08:00
Michael Stenta
bd6faab922 Add support for log bundle plugins. 2020-12-13 08:34:49 -05:00
Michael Stenta
24d4bb717c Add plan permissions to managed roles. 2020-12-06 16:33:29 -05:00
Michael Stenta
7afab5d678 Add "view any/own asset/log" permissions to managed roles. 2020-12-05 15:32:59 -05:00
Michael Stenta
9ab502b390 Use assetEquals() instead of deprecated assertEqual(). 2020-12-04 10:10:00 -05:00
Michael Stenta
ae0bd6e432 $modules property must be declared protected. 2020-12-03 10:30:07 -05:00
paul121
a4a7ac312d Append '(managed)' to managed role labels in the table header. 2020-11-25 08:37:22 -05:00
paul121
75f7a4aabd Disable checkboxes for managed roles in user_admin_permissions form. 2020-11-25 08:00:11 -05:00
paul121
335b8237f6 Add isManagedRole() method to ManagedRolePermissionsManager. 2020-11-25 08:00:11 -05:00
Michael Stenta
56620eaf61 Return type declaration must be compatible with TestCase->setUp() : void 2020-11-20 11:35:13 -05:00
Michael Stenta
3feff07373 Add dependency on farm_role to roles provided by farm_role_roles. 2020-10-17 10:12:26 -04:00
Michael Stenta
8571786eae Standardize test harvest and observation log type config in farm_role tests. 2020-10-17 09:07:08 -04:00
Michael Stenta
ea2176f5c7 Replace remaining instances of "Access" with "Role". 2020-10-17 07:37:33 -04:00
Michael Stenta
8d8b50aecd Don't allow access to administer taxonomy. 2020-10-16 13:33:14 -04:00
Michael Stenta
ade549f4e3 Only allow roles with config perms access admin pages and taxonomy overview. 2020-10-16 13:33:14 -04:00
Michael Stenta
01e1f0644e Allow users to change their own username. 2020-10-16 13:33:14 -04:00
Michael Stenta
26f6246ef9 Move farm_access to farm_role. 2020-10-16 13:33:14 -04:00