[xwiki-contrib/api-rights] 855309: RIGHTSAPI-39: Removing all right are not applied
Branch: refs/heads/main Home: https://github.com/xwiki-contrib/api-rights Commit: 855309dd41bd70d039003b7acf2bae0d7a387b62 https://github.com/xwiki-contrib/api-rights/commit/855309dd41bd70d039003b7ac... Author: Josué Tille <josue.tille@xwiki.com> Date: 2024-08-01 (Thu, 01 Aug 2024) Changed paths: M api-rights-api/src/main/java/org/xwiki/contrib/rights/RightsWriter.java M api-rights-bridge/src/main/java/org/xwiki/contrib/rights/internal/DefaultRightsWriter.java M api-rights-bridge/src/test/java/org/xwiki/contrib/rights/internal/DefaultRightsWriterTest.java Log Message: ----------- RIGHTSAPI-39: Removing all right are not applied * Remove all rights if the list is empty * Update API doc to be explict about the case of empty list and also if args is null * Create draft of Unit test to check that all rights are removed if the list is empty Commit: eadf3690f256246112c6c6350fc6bdda21012f0b https://github.com/xwiki-contrib/api-rights/commit/eadf3690f256246112c6c6350... Author: Josué Tille <josue.tille@xwiki.com> Date: 2024-08-01 (Thu, 01 Aug 2024) Changed paths: M api-rights-bridge/src/test/java/org/xwiki/contrib/rights/internal/DefaultRightsWriterTest.java Log Message: ----------- RIGHTSAPI-39: Removing all right are not applied * Retrive again the document from the store Commit: ae18cfbe614305fd62fee3a30b04676bb0b2eada https://github.com/xwiki-contrib/api-rights/commit/ae18cfbe614305fd62fee3a30... Author: Josué Tille <josue.tille@xwiki.com> Date: 2024-08-01 (Thu, 01 Aug 2024) Changed paths: M api-rights-bridge/src/test/java/org/xwiki/contrib/rights/internal/DefaultRightsWriterTest.java Log Message: ----------- RIGHTSAPI-39: Removing all right are not applied * Check for null instead of the size of the map as the object is not removed Commit: 6db4cd77a092cc19685ce83a89dcf3f00562ebf7 https://github.com/xwiki-contrib/api-rights/commit/6db4cd77a092cc19685ce83a8... Author: Josué Tille <josue.tille@xwiki.com> Date: 2024-08-05 (Mon, 05 Aug 2024) Changed paths: M api-rights-bridge/src/main/java/org/xwiki/contrib/rights/internal/DefaultRightsWriter.java Log Message: ----------- RIGHTSAPI-39: Removing all right are not applied * Avoid to create WebPreferences doc if empty rules list are passed Commit: 1eb00bacb5e7b0c2218a0f920dcfe614f35c9beb https://github.com/xwiki-contrib/api-rights/commit/1eb00bacb5e7b0c2218a0f920... Author: Josué Tille <josue.tille@xwiki.com> Date: 2024-08-05 (Mon, 05 Aug 2024) Changed paths: M api-rights-bridge/src/test/java/org/xwiki/contrib/rights/internal/DefaultRightsWriterTest.java Log Message: ----------- RIGHTSAPI-39: Removing all right are not applied * Cleanup unneeded check Commit: e309bc7b7bdede44b08404b697bf9ccf1dc5fa6a https://github.com/xwiki-contrib/api-rights/commit/e309bc7b7bdede44b08404b69... Author: Josué Tille <josue.tille@xwiki.com> Date: 2024-08-05 (Mon, 05 Aug 2024) Changed paths: M api-rights-bridge/src/test/java/org/xwiki/contrib/rights/internal/DefaultRightsWriterTest.java Log Message: ----------- RIGHTSAPI-39: Removing all right are not applied * Add test for space to check that we don't save WebPreference doc in case of empty rules list passed * Improve the check when no rule are passed to terminal page Commit: 58a225bbc5bfa56f565c5a348ae0bed3a87926be https://github.com/xwiki-contrib/api-rights/commit/58a225bbc5bfa56f565c5a348... Author: Josué Tille <josue.tille@xwiki.com> Date: 2024-08-06 (Tue, 06 Aug 2024) Changed paths: M api-rights-bridge/src/main/java/org/xwiki/contrib/rights/internal/DefaultRightsWriter.java M api-rights-bridge/src/test/java/org/xwiki/contrib/rights/internal/DefaultRightsWriterTest.java Log Message: ----------- RIGHTSAPI-39: Removing all right are not applied * Use the way to check if the document aready exist * Fix type * Add test of remove rules for non-terminal page Commit: 155fd1277a732ac7dd22735676ebd4333df44834 https://github.com/xwiki-contrib/api-rights/commit/155fd1277a732ac7dd2273567... Author: Anca Luca <lucaa@xwiki.com> Date: 2024-09-04 (Wed, 04 Sep 2024) Changed paths: M api-rights-api/src/main/java/org/xwiki/contrib/rights/RightsWriter.java M api-rights-bridge/src/main/java/org/xwiki/contrib/rights/internal/DefaultRightsWriter.java M api-rights-bridge/src/test/java/org/xwiki/contrib/rights/internal/DefaultRightsWriterTest.java Log Message: ----------- Merge pull request #3 from xwiki-contrib/rightsapi_39 RIGHTSAPI-39: Removing all right are not applied Compare: https://github.com/xwiki-contrib/api-rights/compare/cca276c9da9d...155fd1277... To unsubscribe from these emails, change your notification settings at https://github.com/xwiki-contrib/api-rights/settings/notifications
participants (1)
-
XWiki Notifications