Commit Graph

15 Commits

Author SHA1 Message Date
paul121 9b07b45d86 Call access callback with array of permissions as the first argument. 2020-07-03 08:48:18 -04:00
Michael Stenta 4efe9c1488 Allow requiring multiple permissions for quick form access. 2020-07-03 07:52:40 -04:00
Michael Stenta 79f0a84d91 Only clean up numeric entity IDs in farm_quick_entity_delete(). 2019-10-15 15:35:31 -04:00
Michael Stenta 72334e1991 Refactor other modules to use high-level access rules instead of explicit roles. 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 1c48067877 Automatically set the page title on quick forms. 2018-10-10 12:16:46 -04:00
Michael Stenta 707295d2a8 Provide the ability to maintain a link between quick forms and the entities that they create. 2018-09-05 12:58:49 -04:00
Michael Stenta 7804987cb2 Add a permission for configuring quick forms (available to Farm Manager role). 2018-03-21 12:10:17 -04:00
Michael Stenta 71655083d7 Force the user to select which quick forms they want to enable. 2018-03-21 10:36:22 -04:00
Michael Stenta 7f3923811b Fix Quick forms/Configure tab when no forms are enabled. 2018-03-21 10:35:49 -04:00
Michael Stenta 85ddff840b Add a form for enabling/disabling quick forms. 2018-03-21 09:53:42 -04:00
Michael Stenta cfb9171a77 Change 'tab' to 'label' in quick form definitions. 2018-03-21 09:45:14 -04:00
Michael Stenta 7f9ae00282 Allow modules to put quick forms in [module].farm_quick.inc. 2018-03-02 14:34:19 -05:00
Michael Stenta c5cfe2c768 Simplify farm_quick_menu() and add comments to farm_quick.api.php. 2018-03-02 14:34:19 -05:00
Michael Stenta 595258eef0 Add a simple module for "quick forms" in farmOS, with an API hook that other modules can use to add forms. 2018-03-02 12:16:15 -05:00