Commit Graph

37 Commits

Author SHA1 Message Date
nathan
975a22bee1 Admin: Add dialog to add/remove group ACL 2024-08-12 16:01:18 -06:00
Ralf Becker
e89aaf7bc9 fix PHP 8.0 TypeError: count(): Argument #1 ($value) must be of type Countable|array, string given 2021-11-15 14:58:54 +01:00
Hadi Nategh
dd42733393 Fix PHP8.0 (TypeError): array_diff(): Argument #2 must be of type array, null given 2021-11-04 15:50:48 +01:00
Ralf Becker
c8547466a4 fix empty labels in application selection in ACL dialog 2021-10-08 13:24:08 +02:00
Ralf Becker
f115c63f8a prefer link-registry "entries" for data over app-name 2021-02-23 00:16:51 +02:00
nathangray
7462bd0177 * Api: Fix missing translations in ACL dialog 2020-04-07 11:49:07 -06:00
Ralf Becker
d95894d530 use etemplate-exec-id as CSRF token for ajax requests 2020-01-29 11:08:44 +01:00
nathangray
a6c1ff4f92 admin_cmd_account_app bugfixes
- Fix old/new apps not properly saved for history
- Fix documentation not saved
2019-05-08 15:47:10 -06:00
nathangray
7915bfd5b2 Add documentation tab to deleting ACL 2019-05-07 15:23:34 -06:00
Ralf Becker
6434455bab fix not able to set invite rights for groups in calendar
if invite enabled only for groups
2019-03-29 15:09:09 +01:00
nathangray
d29cd78a7c Use correct admin command object to set run rights 2018-09-13 10:32:26 -06:00
nathangray
f5b9aa3992 Fix not possible to add run permissions via group->access permissions 2018-09-13 10:20:07 -06:00
nathangray
63fddef20b Run ACL changes through an admin_cmd 2018-08-24 12:03:19 -06:00
nathangray
b28610a626 Fix ACL dialog actions don't work on first load via top link 2017-06-12 13:14:41 -06:00
Ralf Becker
655e532ed4 fix SQL error when Db->Type is not "mysql", as it should be, but eg. "mysqli" and therefore PostgesSQL SIMILAR is used with MySQL/MariaDB 2016-12-01 13:00:47 +01:00
Ralf Becker
6ce45b634c fix PHP Fatal, if etemplate is not installed 2016-05-05 17:59:31 +00:00
Ralf Becker
01c396e5d3 using new api for admin, though 3 classes still use old etemplate 2016-04-27 19:12:20 +00:00
Ralf Becker
91f3671be4 fix [Add] button in ACL and render it as popup, needs fixing of scrollbars shown 2016-02-25 08:42:33 +00:00
Nathan Gray
91750f46c9 Access dialog
- If current app has no special support, show general dialog instead of message
- Sort apps in add dialog
- Filter app list (filter2) to all apps for run rights, or only supporting apps otherwise
2015-09-15 23:59:31 +00:00
Nathan Gray
2ab51680be Fix access UI to take user's permissions into account, and not let them try to edit run rights 2014-09-18 15:01:08 +00:00
Ralf Becker
d0ac7525b6 * Preferences: non-admin user was able to give himself run-rights to any app incl. admin 2014-09-18 13:53:34 +00:00
Ralf Becker
c5ec3245d3 fixed disabled apps were shown in run-rights, removed not anymore used admin_acl::acl function and its template, also added still commented observer method ment to replace app_refresh 2014-06-25 10:47:26 +00:00
Nathan Gray
7c5db56d61 Use AJAX to load app list for selected account, fixes usually empty dialog for user run rights since they usually came from a group 2014-04-30 15:20:32 +00:00
Nathan Gray
4db673c6af Changes to ACL dialog
- Keep client-side app list up to date so dialog is correct
- Fix app run rights not being updated
2014-04-28 17:40:25 +00:00
Nathan Gray
a8a578962c Changes to ACL dialog based on list filter:
- If '... run rights to other applications', show current apps with run rights for the account
- For others, restrict application selectbox options to just applications that support ACL
2014-04-28 16:19:39 +00:00
Hadi Nategh
a2b7a44b08 Add "Add new button" to Admin ACL index page 2014-04-22 07:58:04 +00:00
Ralf Becker
2282d600c0 fix sql error 2014-03-27 18:58:44 +00:00
Ralf Becker
2a34b88111 fixed not working referesh of ACL list 2014-03-12 13:14:23 +00:00
Ralf Becker
64f4989004 fixed not working setting of ACL, if user has no access to admin app 2014-03-12 12:49:28 +00:00
Ralf Becker
929a29f1fb fix IDE warnings 2014-03-03 16:51:37 +00:00
Ralf Becker
6f162f144e add context sensitive link to ACL/grant access to top-menu, same is to be happen for cats and preferences itself and preferences in sidebox will be removed 2013-10-02 16:29:08 +00:00
Ralf Becker
d6b2155dc2 using eT2 for acl editing 2013-09-11 13:52:38 +00:00
Ralf Becker
ed0abde9ae simplyfied UI and taking into account that not all apps use group acl in same way 2013-09-04 09:48:18 +00:00
Ralf Becker
991980ac3a fixed ACL was wrong way around and made use termenology more clear: data from, access by, ... 2013-09-02 09:19:49 +00:00
Ralf Becker
b48e6b2531 admin ACL more or less finished (pending eT2 auto-repeat bug requiring to use old eTemplate for acl popup) 2013-08-28 12:52:47 +00:00
Ralf Becker
5a801bbb67 next step for new ACL management 2013-08-27 17:58:38 +00:00
Ralf Becker
db7d12af4b first take on new ACL dialog for admin 2013-08-26 18:25:43 +00:00