search for: view_al

Displaying 3 results from an estimated 3 matches for "view_al".

Did you mean: view_all
2005 Dec 22
0
conditions on model
...nly access x clients (ex , 1, 5 ,6 ,7), so i make a string with those ids and paste it to the sql statement, the user is from the session #creating a list of all the client record ids the user may access and paste it in the sql statement if user.has_permission(''admin'') || user.view_all == 1 text = "" else text = "" first = true # only list current user''s clients for client in user.clients if first == true text += " and id IN ( " + client.id.to_s first = false else text += ", " + client.id.to_s end...
2005 Dec 19
6
how to do security??
hey, i have maded some security in my website based on http://www.chaconforcongress.com/accounts/login Here they work with users, roles and persmission, and they check it like this, user.has_permission(permission). I have extended this to: users and groups with roles and permissions. With permissions like "view records","edit records","delete records",... def
2012 Nov 22
2
Lin/Win desktop/games rig with PEG pass-through
Hi all, I''m planning a rig that has SuSE linux in Dom0 and Windows7 in a DomU with the PCIe video card passed through to the Win7-U and an AMD system''s onboard video for the Linux system. Couple xen-newbie questions: does my plan work in such that I intend to have the onboard video''s DVI and the video card (at present an NV GTX-460) on the same monitor and switch