Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 822B3E0082F; Wed, 29 Oct 2014 05:27:41 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.24 listed in list.dnswl.org] Received: from mga09.intel.com (mga09.intel.com [134.134.136.24]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id F06B3E007BA for ; Wed, 29 Oct 2014 05:27:36 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga102.jf.intel.com with ESMTP; 29 Oct 2014 05:26:00 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,809,1406617200"; d="scan'208";a="627599085" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by orsmga002.jf.intel.com with ESMTP; 29 Oct 2014 05:27:22 -0700 Received: from irsmsx109.ger.corp.intel.com (163.33.3.23) by IRSMSX101.ger.corp.intel.com (163.33.3.153) with Microsoft SMTP Server (TLS) id 14.3.195.1; Wed, 29 Oct 2014 12:25:43 +0000 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.3]) by IRSMSX109.ger.corp.intel.com ([169.254.13.101]) with mapi id 14.03.0195.001; Wed, 29 Oct 2014 12:25:42 +0000 From: "Barros Pena, Belen" To: Richard Purdie , "toaster@yoctoproject.org" Thread-Topic: [Toaster] [RFC] Toaster access control Thread-Index: AQHP76B6fQDXpon820G4kx0+1K/aCpxFiyuAgAF8egA= Date: Wed, 29 Oct 2014 12:25:41 +0000 Message-ID: References: <1414503833.7967.147.camel@ted> In-Reply-To: <1414503833.7967.147.camel@ted> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.5.141003 x-originating-ip: [10.237.224.37] MIME-Version: 1.0 Subject: Re: [RFC] Toaster access control X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Oct 2014 12:27:41 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable On 28/10/2014 13:43, "Richard Purdie" wrote: > >I think this is fine, however there is a "but" coming. I believe there >will be some "site" configuration which people will desire, for example >whether users can or cannot invite other users to projects or can create >new users. Some of these operations will need to be restricted to some >set of users. Indeed. I spoke about the permissions system in my reply to Mihail. For 1.8, permissions will be very simple: =20 * Access to a project * Creating projects * Administering Toaster > >So whilst I like the idea, there will be a pressure towards elements of >the other model and there are some reasons for that which we should try >and consider if we can. In this 'distributed' approach, you can grant permissions that match your own permissions, so: * Users who can only access projects cannot create users, and cannot grant permissions of any kind * Users that can create projects can grant access to other users and can grant rights to create projects. * Toaster administrators can grant access, grant rights to create projects and create other Toaster administrators. So as I mentioned before, we don't only distribute the workload: we also distribute the responsibility. If you give someone the rights to administer Toaster, we hope you know what you are doing. I hope this makes sense. Cheers Bel=E9n > >I feel I'm explaining that badly, I hope this is understandable... > >Cheers, > >Richard > > >