Re: roles in the Pear DSN
| From: | Stig S. Bakken | Date: | Fri, 01 Feb 2002 09:01:15 +0000 |
| Subject: | Re: roles in the Pear DSN | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-4316@lists.php.net to get a copy of this message | ||
On Thu, 2002-01-31 at 22:48, shaun X core wrote:
> Hello,
>
> This is my first message to the php.pear.dev group, so first of all I'd
> like to say I have found it incredibally usefull and some of the best
> php code I have worked with. Which brings me to my next point. It was
> fine up until I realized I was going to need to have users log in with
> different roles (using interbase), anyway I went ahead and changed the
> ibase.php and db.php files, both of which I found very readable and
> simple to alter with out changing coding format etc. It works for
> interbase, but I have not yet tried roles on mssql or oracle. I was just
> wondering if it was worth me adding role to the DSN or not? I modified
> parseDSN so that it looks for the role after the password i.e
> user:pass:role ... Are there allready plans to implement roles into the
> DSN or am I missing something obvious as to why it doesnt allready?
> thanks -shaunXcore
Not being familiar with InterBase, I never knew there was such a thing
as roles when connecting to a database. I wonder if this could be
implemented as a protocol option to avoid cluttering the DSN string
format. What do you think, Tomas?
- Stig