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.
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.
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?
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?
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.
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.poioxml-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