Return-Path: Delivered-To: apmail-incubator-jspwiki-user-archive@locus.apache.org Received: (qmail 56906 invoked from network); 16 May 2008 18:42:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 16 May 2008 18:42:11 -0000 Received: (qmail 19976 invoked by uid 500); 16 May 2008 18:42:13 -0000 Delivered-To: apmail-incubator-jspwiki-user-archive@incubator.apache.org Received: (qmail 19832 invoked by uid 500); 16 May 2008 18:42:13 -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 Received: (qmail 19816 invoked by uid 99); 16 May 2008 18:42:13 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 11:42:13 -0700 X-ASF-Spam-Status: No, hits=3.7 required=10.0 tests=HTML_MESSAGE,SPF_PASS,WEIRD_PORT,WHOIS_MYPRIVREG X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of harry.metske@gmail.com designates 64.233.166.177 as permitted sender) Received: from [64.233.166.177] (HELO py-out-1112.google.com) (64.233.166.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 16 May 2008 18:41:24 +0000 Received: by py-out-1112.google.com with SMTP id a25so827565pyi.13 for ; Fri, 16 May 2008 11:41:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; bh=4n3ybzG0vEyKETITAomb3TJomZxQ2z15IJ3QJPgQwT8=; b=t45EAi5vPN+1JiF0R4lgBKCLHAV7NZZWw5oJp8Msqb3hfuHDFl09EM6pAs2sRA1eS31FpsCIGAZj6GAT+EXKg+Iny7coVcA9XYKPonTK3DWrM1PHPCfJ3EGts3471v9abo/ZIHtyr9KVlo5vCD6wd70tQ47O7jhU2fFfxFI7aFc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=TVlVlQvuk8yd7JCDYs9grMCgbB+MfWYTlgYaV5VUpjSoPQG6JpjXrnHedG8RWWQdLIVfWEtFqz69383B/IEKkKSWTdWd1eQUnzn/A2NcjXjl+kRSIjuQ+yuPf5feBqZm+zE6ndw5j4NDTD1ja72U5DaVhy0f6jgS/u4PCXo7Y/Y= Received: by 10.114.190.6 with SMTP id n6mr4027497waf.131.1210963298142; Fri, 16 May 2008 11:41:38 -0700 (PDT) Received: by 10.115.76.10 with HTTP; Fri, 16 May 2008 11:41:38 -0700 (PDT) Message-ID: <3a6c97f00805161141v2799005che548aa5536d4d7c@mail.gmail.com> Date: Fri, 16 May 2008 20:41:38 +0200 From: "Harry Metske" To: jspwiki-user@incubator.apache.org Subject: Re: Group based PagePermission in jspwiki.policy In-Reply-To: <17255965.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_15063_14351279.1210963298125" References: <17255965.post@talk.nabble.com> X-Virus-Checked: Checked by ClamAV on apache.org ------=_Part_15063_14351279.1210963298125 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline Martin, maybe you can first check the group membership that is in effect, click "My Prefs" and then the View Group tab. You can also increase the debuglevel in jspwiki.properties (log4j.logger.SecurityLog) regards, Harry 2008/5/15 mkabcde : > > Hello everybody! > > I encounter an unexpected behaviour with JSPWiki's access control system. > (JSPWiki version 2.6.1) > Unfortunately I did not find any older posts that could help me solving > this > problem. > > I have a user "test" that is a member of the group "Editors". > The jspwiki.policy grants the following permissions to this group: > > grant principal com.ecyrd.jspwiki.auth.GroupPrincipal "Editors" { > permission com.ecyrd.jspwiki.auth.permissions.PagePermission "*:*", > "view,edit,rename,comment,upload"; > permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", > "createPages,createGroups"; > permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", > "editPreferences"; > permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", > "editProfile"; > permission com.ecyrd.jspwiki.auth.permissions.WikiPermission "*", > "login"; > }; > > All the pages I try to edit do NOT have an ACL like [{ALLOW edit Admin}]. > However, I cannot edit a page. > The log shows: > > 2008-05-15 17:07:21,798 [http-9080-7] INFO com.ecyrd.jspwiki.WikiContext > JSPWiki:/JSPWiki/Edit.jsp > JSPWiki:http://css-80-003.home.cas.de:9080/JSPWiki/Edit.jsp - User test > has > no access - forbidden > > (permission=("com.ecyrd.jspwiki.auth.permissions.PagePermission","JSPWiki:REST-Spezifikation","edit")) > > Am I missing something? > Is there any chance to get debug information on the permissions granted to > the current user? > > Any help is appreciated. > > Best regards > > Martin > > -- > View this message in context: > http://www.nabble.com/Group-based-PagePermission-in-jspwiki.policy-tp17255965p17255965.html > Sent from the JspWiki - User mailing list archive at Nabble.com. > > -- met vriendelijke groet, Harry Metske Telnr. +31-548-512395 Mobile +31-6-51898081 ------=_Part_15063_14351279.1210963298125--