cancel
Showing results for 
Search instead for 
Did you mean: 

Disabling 'Create Site' Button

borisstankov
Champ in-the-making
Champ in-the-making
Hello all,

Do anyone of you know, or did anyone tried to disable (hide) the "Create Site" Button for non Admin users (or show it only for specific group of ppl)?
I'm using Alfresco 5.0.c. I found some topic on 4.0, 4.2 and even older versions, but I tried them all and non of them worked as it should.

Regards!
23 REPLIES 23

borisstankov
Champ in-the-making
Champ in-the-making
Hello Jeff,

I'll try this add-on for sure on my version. I'll keep you posted.

Regards!

selvakumaran
Champ in-the-making
Champ in-the-making
hi,
   i can't understand the installation step. kindly explain how to on alfresco 5.0d

jpotts
World-Class Innovator
World-Class Innovator
First, make sure you have checked out the 5.0.d branch. The code in the master branch will not work with 5.0.d.

Then, build the source using mvn install. You must do this once for the repo tier project and once for the share tier project.

Finally, install the AMPs that get placed in each of the two projects' target directories. The easiest way to install an AMP is to place it in the amps or amps_share directory then run apply_amps.sh.

If that doesn't resolve your problem please provide specifics on what you are trying to do and the error message you are seeing.

Jeff

mauricio_neto
Champ in-the-making
Champ in-the-making
Running on 5.0.d with multi-tenancy enabled is not working fine

Hi Jeff,
I've installed your very interesting add-on, but does not working fine. I have two issues:

1 - The menu "Create Site" remains visible even for users who are not in the group "GROUP_SITE_CREATORS".
2 - The user has no permission to create a new site even he are in the group "GROUP_SITE_CREATORS".

I'm new with Alfresco, so there is anything I can check to solve this?

Thanks!
Mauricio


mauricio_neto
Champ in-the-making
Champ in-the-making
Running on 5.0.d MT (cont…)

Hi Jeff,

After I added the Share Site Creators to the Deployed Modules using the Share Module Deployment Console, the menu "Create Site" is not visible, even to that users into GROUP_SITE_CREATORS group.

Is this behavior may be related to the environment be multi-tenancy?

Thanks
Mauricio



jpotts
World-Class Innovator
World-Class Innovator
Make sure you named your group "SITE_CREATORS". Alfresco will prepend the group ID with "GROUP_" so you should not specify that when you create the group.

Jeff

mauricio_neto
Champ in-the-making
Champ in-the-making
Great! Add-on working fine, thanks a lot!

Mauricio

dhernandez
Champ in-the-making
Champ in-the-making
Hi,

I am getting the following error when I run the mvn install, can't you post the two amp files for 5.0.d?

[INFO] ————————————————————————
[INFO] BUILD FAILURE
[INFO] ————————————————————————
[INFO] Total time: 41:04 min
[INFO] Finished at: 2015-06-23T08:32:13-04:00
[INFO] Final Memory: 18M/481M
[INFO] ————————————————————————
[ERROR] Failed to execute goal on project share-site-creators-repo: Could not resolve dependencies f
or project com.ecmarchitect:share-site-creators-repo:amp:0.0.2-SNAPSHOT: Could not transfer artifact
org.apache.poiSmiley Surprisedoxml-schemas:jar:1.1 from/to central (https://repo.maven.apache.org/maven2😞 GET re
quest of: org/apache/poi/ooxml-schemas/1.1/ooxml-schemas-1.1.jar from central failed: Read timed out
-> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following arti
cles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/DependencyResolutionException

Regards,

Hey,

It all worked after I ran this command: mvn -Dplugin=install help:describe

Thanks a lot for your contribution

elsorro
Champ in-the-making
Champ in-the-making
This plug-in LDAP does not work well …

I can not create sites with user group members.

05290021 Wrapped Exception (with status template): 05290204 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/repository/site/membership/membership.put.json.js':

I used alfresco 5.0.d