Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@minotaur.apache.org Received: (qmail 33986 invoked from network); 30 Sep 2009 20:26:00 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 30 Sep 2009 20:26:00 -0000 Received: (qmail 18611 invoked by uid 500); 30 Sep 2009 20:26:00 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 18580 invoked by uid 500); 30 Sep 2009 20:26:00 -0000 Mailing-List: contact jspwiki-user-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jspwiki-user@incubator.apache.org Delivered-To: mailing list jspwiki-user@incubator.apache.org Delivered-To: moderator for jspwiki-user@incubator.apache.org Received: (qmail 14036 invoked by uid 99); 30 Sep 2009 20:19:28 -0000 X-ASF-Spam-Status: No, hits=-1.0 required=10.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Message-ID: <20090930221854.103414mr2886q78g@webmail.tugraz.at> X-Priority: 3 (Normal) Date: Wed, 30 Sep 2009 22:18:54 +0200 From: ctrattner@iicm.edu To: jspwiki-user@incubator.apache.org Subject: GroupPermission MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Internet Messaging Program (IMP) H3 (4.3.5-cvs) X-Organization: Graz University of Technology X-Originating-IP: 80.123.4.80 X-Remote-Browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 X-TUG-Backscatter-control: vbHPiCZAEk9X16TY1ypsTQ X-Spam-Scanner: SpamAssassin 3.002005 X-Spam-Score-relay: 0.1 X-Scanned-By: MIMEDefang 2.65 on 129.27.10.18 X-Virus-Checked: Checked by ClamAV on apache.org Hi, I have the following configuration: grant principal com.ecyrd.jspwiki.auth.authorize.Role "Authenticated" { permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:*", "view"; permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:", "edit"; permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", "createGroups"; }; The problem is, that I have a group called "Editor" in my wiki where group members are not allowed to edit this group, but should be able to edit any other group they are member of. To handle this situation, I tried to add the following Permission line to the grant block above: permission com.ecyrd.jspwiki.auth.permissions.GroupPermission "*:Editor*", "view"; But as you may know, this kind of "code" snippet, didn't solve the problem. So what can I do to get things work?! If the solution for this problem needs some source code modifications, do not hesitate to post some code (I am using JSPWiki 2.8.1) :) Best Regards, Christoph