Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread Chip Childers
On Tue, Apr 09, 2013 at 04:31:41PM +, Pranav Saxena wrote: > HI, > > Do we allow deletion of users created by the admin within the admin account ? > Currently if we see the UI (4.1 /master) and create a User within the admin > account you won't be able to delete any user . Now when you crea

RE: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread Pranav Saxena
-Original Message- From: Chip Childers [mailto:chip.child...@sungard.com] Sent: Tuesday, April 09, 2013 10:18 PM To: dev@cloudstack.apache.org Cc: Alena Prokharchyk Subject: Re: [DISCUSS] - Deletion of Users within the Admin account On Tue, Apr 09, 2013 at 04:31:41PM +, Pranav

Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread Alena Prokharchyk
10:18 PM >To: dev@cloudstack.apache.org >Cc: Alena Prokharchyk >Subject: Re: [DISCUSS] - Deletion of Users within the Admin account > >On Tue, Apr 09, 2013 at 04:31:41PM +, Pranav Saxena wrote: >> HI, >> >> Do we allow deletion of users created by the admin withi

Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread David Nalley
On Tue, Apr 9, 2013 at 12:56 PM, Alena Prokharchyk wrote: > We should allow to delete any CS users except for ones that came as a part > of cloudStack installation ("system" and "admin" users). The users you've > created using API, should be allowed to be removed no matter of their > types. > I

Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread Chip Childers
On Tue, Apr 09, 2013 at 09:56:37AM -0700, Alena Prokharchyk wrote: > We should allow to delete any CS users except for ones that came as a part > of cloudStack installation ("system" and "admin" users). The users you've > created using API, should be allowed to be removed no matter of their > types

RE: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread Pranav Saxena
SCUSS] - Deletion of Users within the Admin account On Tue, Apr 9, 2013 at 12:56 PM, Alena Prokharchyk wrote: > We should allow to delete any CS users except for ones that came as a > part of cloudStack installation ("system" and "admin" users). The > users you've cre

Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread Chip Childers
On Tue, Apr 09, 2013 at 04:53:38PM +, Pranav Saxena wrote: > Is the current state of 4.1 and master a change in behaviour from 4.0.0? > [Pranav] - I didn't check 4.0 but the behavior in 4.1 and master seem to be > exactly the same . > > If it isn't a change, I'd like to propose that we set t

Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread Alena Prokharchyk
Dave, you need to have at least one user in order to login to the UI or execute an API call. You can't do it as a "system" user, so "admin" should be the one. -Alena. On 4/9/13 10:00 AM, "David Nalley" wrote: >On Tue, Apr 9, 2013 at 12:56 PM, Alena Prokharchyk > wrote: >> We should allow to del

RE: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread Pranav Saxena
ssage- From: Chip Childers [mailto:chip.child...@sungard.com] Sent: Tuesday, April 09, 2013 10:34 PM To: dev@cloudstack.apache.org Cc: Alena Prokharchyk Subject: Re: [DISCUSS] - Deletion of Users within the Admin account On Tue, Apr 09, 2013 at 04:53:38PM +, Pranav Saxena wrote: > Is the curre

Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread Chip Childers
...@sungard.com] > Sent: Tuesday, April 09, 2013 10:34 PM > To: dev@cloudstack.apache.org > Cc: Alena Prokharchyk > Subject: Re: [DISCUSS] - Deletion of Users within the Admin account > > On Tue, Apr 09, 2013 at 04:53:38PM +, Pranav Saxena wrote: > > Is the current state

RE: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread Pranav Saxena
:50 PM To: dev@cloudstack.apache.org Cc: Alena Prokharchyk Subject: Re: [DISCUSS] - Deletion of Users within the Admin account On Tue, Apr 09, 2013 at 05:12:58PM +, Pranav Saxena wrote: > If you think that the admin should not have the flexibility to delete a user > within the admin accoun

Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread Chip Childers
On Tue, Apr 09, 2013 at 05:33:28PM +, Pranav Saxena wrote: > More of a modification of an existing functionality . Probably a new feature > in a sense by giving flexibility to the admin to delete users from the UI > within the admin account. Good clarification! OK, so I'm going to move thi

Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread Alena Prokharchyk
Chip, 1) "System" user is always identified by the cloud.user DB id=1 (hardcoded in User.java interface). This user is never exposed via API, you can't remove it - the checks are already in place for it. 2) For users of "admin" account, currently there is no direct way to tell if the user was ad

RE: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread Pranav Saxena
com] Sent: Tuesday, April 09, 2013 11:09 PM To: dev@cloudstack.apache.org Cc: Alena Prokharchyk Subject: Re: [DISCUSS] - Deletion of Users within the Admin account On Tue, Apr 09, 2013 at 05:33:28PM +, Pranav Saxena wrote: > More of a modification of an existing functionality . Probably a new fe

Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-09 Thread Chip Childers
On Tue, Apr 09, 2013 at 06:51:34PM +, Pranav Saxena wrote: > Definitely , we'll fix it in 4.2 timeframe but I would still suggest that we > backport the changes which we'll be doing to 4.1 as well . There would be > modifications at both the API and the UI layers . Yeah, backport for a 4.1.

RE: [DISCUSS] - Deletion of Users within the Admin account

2013-04-22 Thread Pranav Saxena
- From: Alena Prokharchyk Sent: Tuesday, April 09, 2013 11:12 PM To: dev@cloudstack.apache.org Cc: Pranav Saxena Subject: Re: [DISCUSS] - Deletion of Users within the Admin account Chip, 1) "System" user is always identified by the cloud.user DB id=1 (hardcoded in User.java interface).

RE: [DISCUSS] - Deletion of Users within the Admin account

2013-04-22 Thread Pranav Saxena
- From: Alena Prokharchyk Sent: Tuesday, April 09, 2013 11:12 PM To: dev@cloudstack.apache.org Cc: Pranav Saxena Subject: Re: [DISCUSS] - Deletion of Users within the Admin account Chip, 1) "System" user is always identified by the cloud.user DB id=1 (hardcoded in User.java interface). Th

Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-22 Thread Chip Childers
hink we should re-spin an RC specifically for it. > > Thanks, > Pranav > > -Original Message- > From: Alena Prokharchyk > Sent: Tuesday, April 09, 2013 11:12 PM > To: dev@cloudstack.apache.org > Cc: Pranav Saxena > Subject: Re: [DISCUSS] - Deletion of Users within the

RE: [DISCUSS] - Deletion of Users within the Admin account

2013-04-22 Thread Pranav Saxena
esday, April 23, 2013 12:43 AM To: dev@cloudstack.apache.org Cc: Alena Prokharchyk Subject: Re: [DISCUSS] - Deletion of Users within the Admin account On Mon, Apr 22, 2013 at 07:02:41PM +, Pranav Saxena wrote: > Hi Chip , > > This issue has been fixed in asf/master at both the UI and A

Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-22 Thread Chip Childers
On Mon, Apr 22, 2013 at 07:25:53PM +, Pranav Saxena wrote: > If we don't , then the only trade-off is the deletion of the users accounts > won't be possible :) . IMHO , we should be allowing that . > > I'll leave it upto you to take a final go at it . Tell you what... why don't you go ahe

Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-22 Thread Alena Prokharchyk
On 4/22/13 12:29 PM, "Chip Childers" wrote: >On Mon, Apr 22, 2013 at 07:25:53PM +, Pranav Saxena wrote: >> If we don't , then the only trade-off is the deletion of the users >>accounts won't be possible :) . IMHO , we should be allowing that . >> >> I'll leave it upto you to take a final go

Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-22 Thread Chip Childers
On Mon, Apr 22, 2013 at 01:33:32PM -0700, Alena Prokharchyk wrote: > On 4/22/13 12:29 PM, "Chip Childers" wrote: > > >On Mon, Apr 22, 2013 at 07:25:53PM +, Pranav Saxena wrote: > >> If we don't , then the only trade-off is the deletion of the users > >>accounts won't be possible :) . IMHO , w

Re: [DISCUSS] - Deletion of Users within the Admin account

2013-04-22 Thread Alena Prokharchyk
On 4/22/13 1:36 PM, "Chip Childers" wrote: >On Mon, Apr 22, 2013 at 01:33:32PM -0700, Alena Prokharchyk wrote: >> On 4/22/13 12:29 PM, "Chip Childers" wrote: >> >> >On Mon, Apr 22, 2013 at 07:25:53PM +, Pranav Saxena wrote: >> >> If we don't , then the only trade-off is the deletion of the

RE: [DISCUSS] - Deletion of Users within the Admin account

2013-04-22 Thread Pranav Saxena
I second that ! we could leave it in master then . -Original Message- From: Alena Prokharchyk [mailto:alena.prokharc...@citrix.com] Sent: Tuesday, April 23, 2013 2:10 AM To: Chip Childers Cc: dev@cloudstack.apache.org Subject: Re: [DISCUSS] - Deletion of Users within the Admin account