-
- Downloads
SearchKit - Enable super-admins to disable Search Display access checks
This allows users with 'all CiviCRM permissions and ACLs' to configure a search display to bypass permission checks and display all records to the user. Once a display is set to bypass ACLs, it can only be edited by a super-admin, ordinary admin users will not be able to edit the display or the saved search. Such a display will not automatically appear on its own page; it must be embedded in an Afform, and the Afform will act as gatekeeper for users to view the display.
Showing
- Civi/Api4/Utils/CoreUtil.php 6 additions, 0 deletionsCivi/Api4/Utils/CoreUtil.php
- css/civicrm.css 1 addition, 1 deletioncss/civicrm.css
- ext/search_kit/CRM/Search/BAO/SearchDisplay.php 43 additions, 0 deletionsext/search_kit/CRM/Search/BAO/SearchDisplay.php
- ext/search_kit/Civi/Api4/Action/SearchDisplay/Run.php 9 additions, 2 deletionsext/search_kit/Civi/Api4/Action/SearchDisplay/Run.php
- ext/search_kit/ang/crmSearchAdmin.ang.php 1 addition, 0 deletionsext/search_kit/ang/crmSearchAdmin.ang.php
- ext/search_kit/ang/crmSearchAdmin.module.js 1 addition, 0 deletionsext/search_kit/ang/crmSearchAdmin.module.js
- ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js 3 additions, 0 deletions...kit/ang/crmSearchAdmin/crmSearchAdminDisplay.component.js
- ext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.html 13 additions, 0 deletionsext/search_kit/ang/crmSearchAdmin/crmSearchAdminDisplay.html
- ext/search_kit/ang/crmSearchAdmin/searchList.controller.js 1 addition, 0 deletionsext/search_kit/ang/crmSearchAdmin/searchList.controller.js
- ext/search_kit/ang/crmSearchAdmin/searchList.html 3 additions, 3 deletionsext/search_kit/ang/crmSearchAdmin/searchList.html
- ext/search_kit/css/crmSearchAdmin.css 9 additions, 0 deletionsext/search_kit/css/crmSearchAdmin.css
- ext/search_kit/search_kit.php 11 additions, 0 deletionsext/search_kit/search_kit.php
- ext/search_kit/tests/phpunit/api/v4/SearchDisplay/SearchRunTest.php 183 additions, 0 deletions..._kit/tests/phpunit/api/v4/SearchDisplay/SearchRunTest.php
- tests/phpunit/api/v4/Traits/CheckAccessTrait.php 4 additions, 0 deletionstests/phpunit/api/v4/Traits/CheckAccessTrait.php
Loading
Please register or sign in to comment