hi, I''ve already set up hieraki2 (database.yml: configured, schema.mysql.sql: imported). I noticed that there is no user (table "users" is empty) and I can''t login. So what should I do to use hieraki2? :) The title is "Root | Demo" - Why "demo"? I tried to create account called "root" using "signup" form. I''ve got error: ActiveRecord::StatementInvalid in Account#signup but now in table "users" I''ve got root user... help me :) Maksym -- Posted via http://www.ruby-forum.com/.
Jakub Biczkowski wrote:> hi, > I''ve already set up hieraki2 (database.yml: configured, > schema.mysql.sql: imported). I noticed that there is no user (table > "users" is empty) and I can''t login. So what should I do to use > hieraki2? :) The title is "Root | Demo" - Why "demo"? > I tried to create account called "root" using "signup" form. > I''ve got error: > ActiveRecord::StatementInvalid in Account#signup > but now in table "users" I''ve got root user... > > help me :) > > MaksymI have the exact same question. I am able to create a new user no problem, but I am not able to figure out how to obtain ''super user'' rights within the Wiki. Please help. MM -- Posted via http://www.ruby-forum.com/.
Hi, you have to INSERT INTO acl VALUES (1,1,1,1,1,1) in the datbase to be superuser. I noticed that H2 doesnt work properly with IE (javascript error). I use firefox but many people use IE. Maksym. Muppet Master wrote:> Jakub Biczkowski wrote: >> hi, >> I''ve already set up hieraki2 (database.yml: configured, >> schema.mysql.sql: imported). I noticed that there is no user (table >> "users" is empty) and I can''t login. So what should I do to use >> hieraki2? :) The title is "Root | Demo" - Why "demo"? >> I tried to create account called "root" using "signup" form. >> I''ve got error: >> ActiveRecord::StatementInvalid in Account#signup >> but now in table "users" I''ve got root user... >> >> help me :) >> >> Maksym > > I have the exact same question. I am able to create a new user no > problem, but I am not able to figure out how to obtain ''super user'' > rights within the Wiki. Please help. > > MM-- Posted via http://www.ruby-forum.com/.
Jakub Biczkowski wrote:> Hi, > you have to > INSERT INTO acl VALUES (1,1,1,1,1,1) > in the datbase to be superuser. > I noticed that H2 doesnt work properly with IE (javascript error). > I use firefox but many people use IE. > > Maksym.Thanks! That worked with one more ''1'' at the endof the insert statement. Also, now that I have superuser rights, how do I go about customizing the Wiki? In terms of changing the name of ''root'', enabling RSS, etc? -- Posted via http://www.ruby-forum.com/.
Muppet Master wrote:> Jakub Biczkowski wrote: >> Hi, >> you have to >> INSERT INTO acl VALUES (1,1,1,1,1,1) >> in the datbase to be superuser. >> I noticed that H2 doesnt work properly with IE (javascript error). >> I use firefox but many people use IE. >> >> Maksym. > > Thanks! That worked with one more ''1'' at the endof the insert > statement. Also, now that I have superuser rights, how do I go about > customizing the Wiki? In terms of changing the name of ''root'', enabling > RSS, etc?You can UPDATE the name of the NODE that has the PARENT_NAME set to ''0''. -- Posted via http://www.ruby-forum.com/.