Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)

97696: Merged 5.0.N (5.0.2) to HEAD-BUG-FIX (5.1/Cloud)
      97691: Merged 5.0.1 (5.0.1) to 5.0.N (5.0.2)
         97689: Merged DEV to 5.0.1 (5.0.1)
            97588: MNT-13427: Changes for "Manage Permissions" is not applied for a folder from repository
               - Fixed problem with permissions for "GROUP_EVERYONE"


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@97708 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Alan Davis
2015-02-21 07:53:49 +00:00
parent 625288ed18
commit 6a5ea10cbe

View File

@@ -60,7 +60,7 @@ function main()
// collect values for the permission setting
var authority = perm.getString("authority");
if (people.getGroup(authority) == null && people.getPerson(authority) == null)
if (authority != "GROUP_EVERYONE" && people.getGroup(authority) == null && people.getPerson(authority) == null)
{
// ACE-3280: silently not add non-existent users
return;