You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2015/04/27 18:16:54 UTC

svn commit: r1676326 - in /sling/trunk/launchpad/content/src/main/resources/content/apps/sling/servlet/default: ace.html.esp acl.html.esp

Author: cziegeler
Date: Mon Apr 27 16:16:54 2015
New Revision: 1676326

URL: http://svn.apache.org/r1676326
Log:
Add missing licence headers

Modified:
    sling/trunk/launchpad/content/src/main/resources/content/apps/sling/servlet/default/ace.html.esp
    sling/trunk/launchpad/content/src/main/resources/content/apps/sling/servlet/default/acl.html.esp

Modified: sling/trunk/launchpad/content/src/main/resources/content/apps/sling/servlet/default/ace.html.esp
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/content/src/main/resources/content/apps/sling/servlet/default/ace.html.esp?rev=1676326&r1=1676325&r2=1676326&view=diff
==============================================================================
--- sling/trunk/launchpad/content/src/main/resources/content/apps/sling/servlet/default/ace.html.esp (original)
+++ sling/trunk/launchpad/content/src/main/resources/content/apps/sling/servlet/default/ace.html.esp Mon Apr 27 16:16:54 2015
@@ -1,4 +1,22 @@
-<%
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+ <%
    var privilegesInfo = new Packages.org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo();
    if (!privilegesInfo.canReadAccessControl(currentNode)) {
       //no rights to view the access control of the node, so just return a 404 status

Modified: sling/trunk/launchpad/content/src/main/resources/content/apps/sling/servlet/default/acl.html.esp
URL: http://svn.apache.org/viewvc/sling/trunk/launchpad/content/src/main/resources/content/apps/sling/servlet/default/acl.html.esp?rev=1676326&r1=1676325&r2=1676326&view=diff
==============================================================================
--- sling/trunk/launchpad/content/src/main/resources/content/apps/sling/servlet/default/acl.html.esp (original)
+++ sling/trunk/launchpad/content/src/main/resources/content/apps/sling/servlet/default/acl.html.esp Mon Apr 27 16:16:54 2015
@@ -1,4 +1,22 @@
-<%
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *   http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+ <%
    var privilegesInfo = new Packages.org.apache.sling.jcr.jackrabbit.accessmanager.PrivilegesInfo();
    if (!privilegesInfo.canReadAccessControl(currentNode)) {
       //no rights to view the access control of the node, so just return a 404 status