[racktables-users] Re: Cannot Add Permissions

  • From: NetKIZ <all4green@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Mon, 20 Dec 2010 16:28:14 -0500

Thanks, Jonathan! I was able to add the permissions I wanted based on the
information you provided, but I still cannot do it via the UI...

I cleared the RackCode cache using the instructions in the link you
provided, and it worked as you described but I still could not add
permissions via the GUI.
I then used Toad for MySQL to view the "Script" table and could see the
"deny" (the one you asked me to add before) statement in the RackCode row.
From Toad I cleared LDAPConfigHash (I'm not using LDAP) and RackCodeCache
and manually added in allow {$userid_10003} on line 2 and now it works!

I still do not see allow {$userid_10003} when I view permissions via the UI,
but I do see it in the database table, and I can login with that user now.

I'll work on upgrade to 0.18.6 to see if that fixes the problem.

Thanks for your help.



On Sat, Dec 18, 2010 at 12:13 AM, Jonathan Thurman <jonathan@xxxxxxxxxxxxxxx
> wrote:

> On Fri, Dec 17, 2010 at 12:56 PM, NetKIZ <all4green@xxxxxxxxx> wrote:
> > Hi,
> >
> > I'm running version 0.18.4
>
> I don't see any similar bugs in the tracker or the ChangeLog.  Are you
> able to test on 0.18.6?
>
> > I get the same behavior when I try to add the deny as you show it.
> > It appears to take it, but then the only line that shows after the save
> is
> > "allow {$userid_1}"
>
> So after you click save, it is gone but no error of any kind?
>
> You could also try this:
>
> http://sourceforge.net/apps/mediawiki/racktables/index.php?title=RackTablesAdminGuide#Fixing_the_RackCode
>
> That should clear out the cached version of RackCode, and add an extra
> 'allow {$userid_1}' to the beginning.  Then try and change it again.
> If it still doesn't work, I would update.
>
> -Jonathan
>
>

Other related posts: