mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-6141 Revert change of how a user is a member of the RM site.
The user should be an RM User, not a site manager. Also revert a couple of changes that were done to make this work. Minor tweaks to use constants rather than member variables. (cherry picked from commit b284ba90388ef360f5321826e292ec43bf2e5197)
This commit is contained in:
@@ -53,9 +53,8 @@ public class RMSite extends RestSiteModel
|
|||||||
|
|
||||||
/** Private constructor allowing Lombok to include superclass fields in the builder. */
|
/** Private constructor allowing Lombok to include superclass fields in the builder. */
|
||||||
@Builder
|
@Builder
|
||||||
private RMSite(String id, String title, String description, RMSiteCompliance compliance)
|
private RMSite(String title, String description, RMSiteCompliance compliance)
|
||||||
{
|
{
|
||||||
this.setId(id);
|
|
||||||
this.setTitle(title);
|
this.setTitle(title);
|
||||||
this.setDescription(description);
|
this.setDescription(description);
|
||||||
this.compliance = compliance;
|
this.compliance = compliance;
|
||||||
|
@@ -60,7 +60,7 @@ public class RMSiteUtil
|
|||||||
*/
|
*/
|
||||||
public static RMSite createRMSiteModel(RMSiteCompliance compliance, String title, String description)
|
public static RMSite createRMSiteModel(RMSiteCompliance compliance, String title, String description)
|
||||||
{
|
{
|
||||||
return RMSite.builder().id(RM_ID).compliance(compliance).title(title).description(description).build();
|
return RMSite.builder().compliance(compliance).title(title).description(description).build();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Reference in New Issue
Block a user