Change the role model class to access the role table of appfuse 1.9.4

2 messages Options
Embed this post
Permalink
tiya

Change the role model class to access the role table of appfuse 1.9.4

Reply Threaded More More options
Print post
Permalink
We have one webapplication created using appfuse 1.9.4 for users (Administration - to add/delete/edit user).
 
We have already 10 webapplications using appfuse version 1.7. We have a plan to change all web applications point to that centralised schema (Webapplication created using 1.9.4).

My question is : There is difference between the role table created by appfuse 1.7 and appfuse 1.9.4.
Appfuse 1.7 has username and rolename. Appfuse 1.9.4 has user_id and role_id. I changed only role model class to access role table of centralised webapplication(which has role_id and user_role table has role_id and user_id). Whereever rolename comes i replaced with the role_id. But the problem is i can able print out all the roles and when i tries to login to that application it's not authenthicating. It's not login.

I changed the role model class with id,name,description and user model class replace with role_id in user_role table. Is there anything else am i missing?

    Pls let me know what am i missing ?




   
mraible

Re: Change the role model class to access the role table of appfuse 1.9.4

Reply Threaded More More options
Print post
Permalink
The easiest way I've found to upgrade an old version of AppFuse to a new version can be found on the wiki.

Hope this helps.

Matt

On Mon, Jul 13, 2009 at 11:16 AM, tiya <[hidden email]> wrote:

We have one webapplication created using appfuse 1.9.4 for users
(Administration - to add/delete/edit user).

We have already 10 webapplications using appfuse version 1.7. We have a plan
to change all web applications point to that centralised schema
(Webapplication created using 1.9.4).

My question is : There is difference between the role table created by
appfuse 1.7 and appfuse 1.9.4.
Appfuse 1.7 has username and rolename. Appfuse 1.9.4 has user_id and
role_id. I changed only role model class to access role table of centralised
webapplication(which has role_id and user_role table has role_id and
user_id). Whereever rolename comes i replaced with the role_id. But the
problem is i can able print out all the roles and when i tries to login to
that application it's not authenthicating. It's not login.

I changed the role model class with id,name,description and user model class
replace with role_id in user_role table. Is there anything else am i
missing?

   Pls let me know what am i missing ?





--
View this message in context: http://www.nabble.com/Change-the-role-model-class-to-access-the-role-table-of-appfuse-1.9.4-tp24465749s2369p24465749.html
Sent from the AppFuse - Dev mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]