cancel
Showing results for 
Search instead for 
Did you mean: 

Everyone link getting created automatically- is this bug?

guhann
Champ in-the-making
Champ in-the-making
As admin i have created workspaces and for each users i have assigned the respective workspace as home space for those users.

I don't want the users to see the entire companyhome spaces, he should be able to view only the space assinged to him, for this purpose i have deleted the Everyone link in all the workspaces(thru managespace users).

But whenever im creating new user and assign a particular space, the Everyone link appears automatically in that space. So for each and every time i need to delete this. Is this a bug?

Why the deleted Everyone user link creates automatically? and it creates permission issues.
7 REPLIES 7

sdavis
Champ in-the-making
Champ in-the-making
Two questions:

1) If you go to Company Home | More Actions | Manage Space Users, what do you see?

2) For any subfolder that you previously updated, under the same Manage Space Users screen, what shows for "Inherit Parent Space Permissions"?

guhann
Champ in-the-making
Champ in-the-making
In companyhome - manage space users- i see only the user assigned for the companyhome and not the Everyone link.

Also i verified by deselecting the Inherit Parent space permissions checkbox in all the workspaces, but still the Everyone user is getting created whenever im creating new user.

guhann
Champ in-the-making
Champ in-the-making
helloooooooooooooo there……

Is there anyone to give me a solution???

dozyarmadillo
Champ on-the-rise
Champ on-the-rise
I replicated the same behaviour using Alfresco 2.1 Community on WinXP/MySQL.

I created a user, specified the home space name (under User Homes space) then checked the permissions for the space. The Everyone group had been assigned Consumer access.

This either looks to be a bug (why would you want to allow public access to home spaces?) or a design decision. I would suggest logging a JIRA ticket for this (or fixing yourself and contributing back).

Regards

andy
Champ on-the-rise
Champ on-the-rise
Hi

This is a configuration option. See web-client-config.xml.


<!– The default permissions to apply to a new users Home Space when first created –>
         <!– this permission is for other users attempting to access that Home Space –>
         <!– generally set to "Consumer" or empty value to indicate a private hidden space. –>
         <!– see org.alfresco.service.cmr.security.PermissionService for allowed values –>
         <home-space-permission>Consumer</home-space-permission>


This should be blank in the web-client-config-custom.xml in the extension directory. See the wiki about App configuration.

Andy

kiran1
Champ in-the-making
Champ in-the-making
Thanks Andy

i did <home-space-permission></home-space-permission> this in web-client-config.xml. Now Everone group is not creating automatically whenever a new user creates.

i have one more problem

I have commented as given below in NewUserWizard.java. The problem is For editor role i cannot able to checkout the file.

Basically what i need is, if the role is consumer i don't want the AddContent to be displayed.Also if possible i need to
remove the "All" permission by default.

private void setupHomeSpacePermissions(NodeRef homeSpaceRef)
{
// permissionService.setPermission(homeSpaceRef, userName, permissionService.getAllPermission(), true);
String permission = getDefaultPermission();
if(permission != null && permission.length() != 0)
permissionService.setPermission(homeSpaceRef, permissionService.getAllAuthorities(), permission, true);
// ownableService.setOwner(homeSpaceRef, userName);
permissionService.setPermission(homeSpaceRef, permissionService.getOwnerAuthority(), permissionService.getAllPermission(),true);
permissionService.setInheritParentPermissions(homeSpaceRef, false);
}

how to solve this?

Thanks in advance
kiran

kiran1
Champ in-the-making
Champ in-the-making
i am using alfresco-community-jboss-1.4. i have created a new user and assigned a role consumer to him,but whenever the user loggin he get option of Add content,create content.

How to restrict add content/ create for consumer role?

what changes i have to made for this?

Thanks in advance
kiran