[racktables-users] Re: Users should only see objects with specific tag

  • From: Maximilian Mensing <Maximilian.Mensing@xxxxxxxx>
  • To: "racktables-users@xxxxxxxxxxxxx" <racktables-users@xxxxxxxxxxxxx>
  • Date: Fri, 11 Apr 2014 15:39:45 +0000

Hi André,

we’re using a plugin for restricted user/customer views.
It’s a stripped down version of the ‘renderdepot()’ function in the rack tables 
core.
It will spawn a new page on the rack tables landing page wich shows only 
objects with a specific tag and hides the tag tree from the user.
Now just allow the user only Access this site and the object default pages.
I’ve added a little basic Documentation at the head of the function which you 
will find there:
http://pastebin.com/rD8DTqn0

I hope it helps :).

Cheers,
Max


--
Maximilian Mensing
Dembach Goo Informatik GmbH & Co. KG
Hohenzollernring 72
D-50672 Köln
E-Mail: max@xxxxxxxx


Von: André Silz <andre.silz@xxxxxxxxxxxx<mailto:andre.silz@xxxxxxxxxxxx>>
Antworten an: 
"racktables-users@xxxxxxxxxxxxx<mailto:racktables-users@xxxxxxxxxxxxx>" 
<racktables-users@xxxxxxxxxxxxx<mailto:racktables-users@xxxxxxxxxxxxx>>
Datum: Wednesday 9 April 2014 17:15
An: "racktables-users@xxxxxxxxxxxxx<mailto:racktables-users@xxxxxxxxxxxxx>" 
<racktables-users@xxxxxxxxxxxxx<mailto:racktables-users@xxxxxxxxxxxxx>>
Betreff: [racktables-users] Users should only see objects with specific tag

Hello,

I want to display in racktables for a user only objects with a specific tag.
For example: User Test should only see and edit objects with tag ABC.
I tried it with the following permission settings: allow {$userid_2} and {ABC}
But this has no effects on the objectlist. I can see and edit all objects.
What i’m doing wrong? :)

Best regards
André

________________________________

Fon +49-271-23653-41
Mobil +49-160-90569258

mehrwert systemhaus GmbH
Bahnhof Weidenau 6
DE 57076 Siegen

Büro Düsseldorf
Breite Straße 69
DE 40213 Düsseldorf

Geschäftsführer: Marcus Schneider
Sitz der Gesellschaft: Siegen, HRB 7711

Other related posts: