Fixes #6766 Let Super User view and edit segments created by other users
As a Super User: * I can now see all segments that were created for this website by any other user * When a segment was created by another user who is not Super User, the segment appears below a new section "Visible to you because you have Super User access:" * Such segments are editable by the Super User * The only difference when editing someone else's segment, as a Super User, is that "This segment is visible to [ME]" now says "This segment is visible to [SEGMENT_AUTHOR_USERNAME]" * One can now search in the search bar for a username and see all segments created by this user For all users: * New section "Shared with you:" now lists segments created by a Super User, and marked as "Visible to [All Users]" * Before segments shared with me, looked the same as segments I created, which was confusing
parent
d7211cd8
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Affichage de
- lang/en.json 1 ajout, 0 suppressionlang/en.json
- plugins/CoreHome/CoreHome.php 1 ajout, 0 suppressionplugins/CoreHome/CoreHome.php
- plugins/Dashboard/stylesheets/dashboard.less 2 ajouts, 2 suppressionsplugins/Dashboard/stylesheets/dashboard.less
- plugins/SegmentEditor/API.php 40 ajouts, 3 suppressionsplugins/SegmentEditor/API.php
- plugins/SegmentEditor/Model.php 21 ajouts, 0 suppressionplugins/SegmentEditor/Model.php
- plugins/SegmentEditor/SegmentEditor.php 2 ajouts, 0 suppressionplugins/SegmentEditor/SegmentEditor.php
- plugins/SegmentEditor/javascripts/Segmentation.js 161 ajouts, 76 suppressionsplugins/SegmentEditor/javascripts/Segmentation.js
- plugins/SegmentEditor/lang/en.json 3 ajouts, 1 suppressionplugins/SegmentEditor/lang/en.json
- plugins/SegmentEditor/stylesheets/segmentation.less 11 ajouts, 3 suppressionsplugins/SegmentEditor/stylesheets/segmentation.less
- plugins/SegmentEditor/templates/_segmentSelector.twig 1 ajout, 1 suppressionplugins/SegmentEditor/templates/_segmentSelector.twig
- plugins/SegmentEditor/tests/Integration/ApiTest.php 221 ajouts, 0 suppressionplugins/SegmentEditor/tests/Integration/ApiTest.php
- tests/PHPUnit/Framework/Fixture.php 1 ajout, 0 suppressiontests/PHPUnit/Framework/Fixture.php
Chargement en cours
Veuillez vous inscrire ou vous se connecter pour commenter