On 8/21/01 8:55 AM, "Matthew Forder" <[EMAIL PROTECTED]> wrote:
> I'm trying to add a second user into turbine-user as part of the whole
> build process. I have made an sql script (basically a copy of the
> turbine-security) which inserts one user (I'm giving the userid a value
> of '2') and two new roles into the turbine security tables. However, if
> I try to login as the user it *never* works, even though the user I
> created has all the necessary roles and permission my application
> requires. However, if I assign the 'turbine' user the same roles and
> permissions, I can log in!!
>
> I can create the same user through the sample app, using the same roles
> and permissions and it will work, it only seems to be if I do a manual
> sql insert into turbine_user that it doesn't. Does anybody have any
> suggestions? Could it be to do with the userid I am assigning to my user
> (perhaps it must be >= 100?)
Take a look at the flux code if you want to see what's going on. If you're
inserting things manually you're probably missing inserts in the tables that
relate permissions to roles and roles to users.
> Regards,
>
> Matt
>
> --
> ____ | Matthew J. Forder | Data Center Supervisor
> / / () | Seagate Techology | Tel:+31 20 316 7468
> \ \ \ | Koolhovenlaan 1 | Fax:+31 20 653 5537
> ()_/_/ | 1119 NB Schiphol-Rijk, NL | [EMAIL PROTECTED]
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
--
jvz.
Jason van Zyl
http://tambora.zenplex.org
http://jakarta.apache.org/turbine
http://jakarta.apache.org/velocity
http://jakarta.apache.org/alexandria
http://jakarta.apache.org/commons
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]