Return-Path: X-Original-To: apmail-jackrabbit-dev-archive@www.apache.org Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C4F519986 for ; Tue, 22 May 2012 16:04:42 +0000 (UTC) Received: (qmail 14610 invoked by uid 500); 22 May 2012 16:04:42 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 14489 invoked by uid 500); 22 May 2012 16:04:42 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 14473 invoked by uid 99); 22 May 2012 16:04:42 -0000 Received: from issues-vm.apache.org (HELO issues-vm) (140.211.11.160) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 May 2012 16:04:42 +0000 Received: from isssues-vm.apache.org (localhost [127.0.0.1]) by issues-vm (Postfix) with ESMTP id 37B0E141822 for ; Tue, 22 May 2012 16:04:42 +0000 (UTC) Date: Tue, 22 May 2012 16:04:42 +0000 (UTC) From: "Tommaso Teofili (JIRA)" To: dev@jackrabbit.apache.org Message-ID: <1149926889.8538.1337702682230.JavaMail.jiratomcat@issues-vm> Subject: [jira] [Created] (JCR-3320) User#isAdmin and UserManager#isAdmin only check user name to be equals to admin MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Tommaso Teofili created JCR-3320: ------------------------------------ Summary: User#isAdmin and UserManager#isAdmin only check user name to be equals to admin Key: JCR-3320 URL: https://issues.apache.org/jira/browse/JCR-3320 Project: Jackrabbit Content Repository Issue Type: Improvement Components: jackrabbit-core Reporter: Tommaso Teofili Priority: Minor When trying to validate administrative privileges of a JCR Session for a user belonging to an "administartors" group I realized the check is done only for the user name/id. I think it'd be good to : a) ok solution : check for membership to "administrators" group b) better solution : use some smarter (rule based?) control -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira