cancel
Showing results for 
Search instead for 
Did you mean: 

Missing/Changed Default Roles

kharris
Champ in-the-making
Champ in-the-making
I seem to be missing 2 of the default roles.  I am running v3.2r2 Community edition with Tomcat on Linux.  The only roles I see listed in Alfresco Explorer are:
Site Manager
Site Collaborator
Site Contributor
Site Consumer
Note sure why Editor and Coordinator are missing or why the roles on this machine all start with the word site?

When I originally downloaded Alfresco, I had it set up on an old machine.  I just fired it back up and went to the exact same place in Alfresco Explorer to see what roles it lists and it appears to be correct.  It lists the following roles:
Coordinator
Collaborator
Contributor
Editor
Consumer

I checked the file /opt/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/model/permissionDefinitions.xml on both machines and even ran diff on them and they are exactly the same. 

Does anyone have any ideas on what can be done to get my roles back as they should be?

Thank you.
7 REPLIES 7

kharris
Champ in-the-making
Champ in-the-making
This appears to be a bug as I have now found the trick to recreating the issue AND I have also found how to work around it.

To see the issue in action, follow these steps (Note that you must first have a site created):
1.)  Log in to the Alfresco web site
2.)  Immediately click on Company Home
3.)  Next click on Sites
4.)  Click on one of the sites you have created
5.)  Click More Actions followed by Manage Space Users
6.)  Try to edit the existing permissions on an entry OR try to invite someone.  If you get the same thing I do on both of my installs, I only see the following roles:
  Site Manager
  Site Collaborator
  Site Contributor
  Site Consumer

Now Log out.  As far as I can tell, you must log out to reset something, not sure what.

To see the correct roles, follow these steps:
1.)  Log in to the Alfresco web site
2.)  Immediately click on Company Home
3.)  Next click on Sites BUT DO NOT CLICK ON AN ACTUAL SITE
4.)  Click More Actions followed by Manage Space Users
5.)  Now try to edit the existing permissions on an entry OR try to invite someone.  When following these steps, I see the following roles:
  Coordinator
  Collaborator
  Contributor
  Editor
  Consumer

Note the only difference was that I checked the permissions on the root of sites BEFORE clicking on an actual site.  I did not have to actually change any permissions.  Once I do this first, I can go anywhere and the roles appear as they should.  This seems to be to be a bug?  I hope this helps someone else that runs into this problem.

ssaravanan
Champ in-the-making
Champ in-the-making
Alfresco Share makes use of a different permission model, with a different Use Case, meant
for web 2.0 specific collaborative document management needs.
So don't get confused with Alfresco DM specific permissions and Site Permissions, they
both have a different Use Case.

kharris
Champ in-the-making
Champ in-the-making
I'm sorry, but I'm struggling to make since of this.  Even if Alfresco Share and Alfresco Explorer have two entirely different permission models, surely simply checking permissions (no need to even change the permissions) using a different sequence doesn't cause different roles to appear by design?  After all, I am not talking about leaving one application and going to another.  All I am doing is using a different sequence of mouse clicks within Explorer and I'm getting entirely different results depending on what I do.  Once you do this, then it doesn't matter what you click on, the results will be the same until you exit the application and repeat the outlined procedure.

Can anyone else confirm this?

Thank you.

ssaravanan
Champ in-the-making
Champ in-the-making
Ofcourse as you referred, does looks like a design flaw
but in reality, if you look at the sitePermissions Model
<permissionSet type="st:site" expose="selected">
  
      <permissionGroup name="SiteManager" allowFullControl="true" expose="true" />
     
      <permissionGroup name="SiteCollaborator" allowFullControl="false" expose="true">
         <includePermissionGroup permissionGroup="Collaborator" type="cm:cmobject" />
      </permissionGroup>
     
      <permissionGroup name="SiteContributor" allowFullControl="false" expose="true">
         <includePermissionGroup permissionGroup="Contributor" type="cm:cmobject" />
      </permissionGroup>
     
      <permissionGroup name="SiteConsumer" allowFullControl="false" expose="true">
         <includePermissionGroup permissionGroup="Consumer" type="cm:cmobject" />
      </permissionGroup>
     
   </permissionSet>

Its just the group name which appears as
Site Manager
Site Collaborator
Site Contributor
Site Consumer

but in essence it still uses the underlying Alfresco Permissions.
I know it makes things confusing.

kharris
Champ in-the-making
Champ in-the-making
Yes, but where is the Coordinator and the Editor?  The missing coordinator role is why I originally discovered this.  I am not at all convinced that this is by design.  I still think it is a bug.

tommorris
Champ in-the-making
Champ in-the-making
Hi kharris,

I just wanted to confirm that I too see the behaviour that you describe.

Tom.

calle
Champ in-the-making
Champ in-the-making
The difference in visible permissions is beacuse the site permissions is applicable to st:site and not to cm:folder. When you browse to the Sites space it is a stndard folder and consequently the standard roles are displayed but when you are within a site it is of type st:site and the specific site roles are displayed. Please correct me if I'm wrong.

//Carl
Getting started

Tags


Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.