Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 6 of 6 total
Thread Database Privileges
Fri, May 15 2009 11:01 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

I don't know if this can be regarded as a bug, WAD or something else but I'm playing with the inbuilt privileges. I added CREATE to Alf (Fred was busy Smiley and then I tried

grant ALL PRIVILEGES on database wobble to alf

and was rewarded with an error

ElevateDB Error #400 The privilege Create already exists.

Whilst this is quite true and factual its not very helpful Smiley Is there a reason for telling us rather than just ignoring it and getting on with setting the rest?

Roy Lambert
Sat, May 16 2009 2:01 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Roy,

<< I don't know if this can be regarded as a bug, WAD or something else but
I'm playing with the inbuilt privileges. I added CREATE to Alf (Fred was
busy Smiley and then I tried

grant ALL PRIVILEGES on database wobble to alf

and was rewarded with an error

ElevateDB Error #400 The privilege Create already exists.

Whilst this is quite true and factual its not very helpful Smiley Is there a
reason for telling us rather than just ignoring it and getting on with
setting the rest? >>

Hmmm, I'm of two different minds on this one.  One of the design goals of
EDB is to make sure to inform the developer or user any time an operation
encounters a situation that may be contrary to the expected situation for
such an operation.  However, on the other hand, another design goal is to
ensure that things are as simple and intuitive as possible, so in this case
I think design goal number 2 wins, and I'll just have it ignore such a
situation.

--
Tim Young
Elevate Software
www.elevatesoft.com

Sun, May 17 2009 4:04 AMPermanent Link

Roy Lambert

NLH Associates

Team Elevate Team Elevate

Tim


Ta

Roy Lambert
Tue, May 19 2009 7:16 AMPermanent Link

"Fons Neelen"
Hi Tim,

Can you also change this behavior for REVOKE of privileges. If the user
doesn't have the specific right, there would be no need for an error
messages stating that the user does not have this right.

Best regards,
Fons

"Tim Young [Elevate Software]" <timyoung@elevatesoft.com> schreef in bericht
news:2262DBEB-3A2A-484D-9C0D-22D2189F0E95@news.elevatesoft.com...
> Roy,
>
> << I don't know if this can be regarded as a bug, WAD or something else
> but I'm playing with the inbuilt privileges. I added CREATE to Alf (Fred
> was busy Smiley and then I tried
>
> grant ALL PRIVILEGES on database wobble to alf
>
> and was rewarded with an error
>
> ElevateDB Error #400 The privilege Create already exists.
>
> Whilst this is quite true and factual its not very helpful Smiley Is there a
> reason for telling us rather than just ignoring it and getting on with
> setting the rest? >>
>
> Hmmm, I'm of two different minds on this one.  One of the design goals of
> EDB is to make sure to inform the developer or user any time an operation
> encounters a situation that may be contrary to the expected situation for
> such an operation.  However, on the other hand, another design goal is to
> ensure that things are as simple and intuitive as possible, so in this
> case I think design goal number 2 wins, and I'll just have it ignore such
> a situation.
>
> --
> Tim Young
> Elevate Software
> www.elevatesoft.com
>
Tue, May 19 2009 4:06 PMPermanent Link

Tim Young [Elevate Software]

Elevate Software, Inc.

Avatar

Email timyoung@elevatesoft.com

Fons,

<< Can you also change this behavior for REVOKE of privileges. If the user
doesn't have the specific right, there would be no need for an error
messages stating that the user does not have this right. >>

Yes, absolutely.  I should have checked the REVOKE behavior when I did the
change for the GRANT. Smiley

--
Tim Young
Elevate Software
www.elevatesoft.com

Wed, May 20 2009 2:34 PMPermanent Link

"Fons Neelen"
Hi Tim,

> Yes, absolutely.  I should have checked the REVOKE behavior when I did the
> change for the GRANT. Smiley

Thanks.

Best regards,
Fons
Image