Skip to content

Commit

Permalink
XWIKI-21611: Set right author when disabling/enabling an account
Browse files Browse the repository at this point in the history
- fix UsersGroupsRightsManagementIT failing test (#2824)
  • Loading branch information
pjeanjean authored and oanalavinia committed Jan 25, 2024
1 parent 589084f commit 2b55c29
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,13 @@
<version>${project.version}</version>
<type>xar</type>
</dependency>
<!-- The UserProfile sheet is used to disable/enable user profiles -->
<dependency>
<groupId>org.xwiki.platform</groupId>
<artifactId>xwiki-platform-user-profile-ui</artifactId>
<version>${project.version}</version>
<type>xar</type>
</dependency>
<!-- ================================
Test only dependencies
================================ -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,9 @@

@UITest(properties = {
// Add the RightsManagerPlugin needed by the test
"xwikiCfgPlugins=com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin"
"xwikiCfgPlugins=com.xpn.xwiki.plugin.rightsmanager.RightsManagerPlugin",
// Programming rights are required to disable/enable user profiles (cf. XWIKI-21238)
"xwikiPropertiesAdditionalProperties=test.prchecker.excludePattern=.*:XWiki\\.XWikiUserProfileSheet"
})
public class UsersGroupsRightsManagementIT
{
Expand Down

0 comments on commit 2b55c29

Please sign in to comment.