similar to: model level access control

Displaying 20 results from an estimated 100000 matches similar to: "model level access control"

2006 May 25
16
yet another rails site - happycarpools.com
I''m pretty much done with a project I''ve been developing to learn Rails, http://www.happycarpools.com . If you could take a look, that''d be awesome! Feedback would be even more awesome! Probably the coolest thing about making this has been seeing how Rails does *so much* and hardly has any superfluous parts, if any. There are so many features that I initially
2006 May 16
2
Model layer access control
I already have a simple role based access control system (User, Role, Privilege, Client) in place for my web layer, which checks User.authorized?(controller, action, client) from a before filter. What do you think about using this method for auth checks on the model layer as well, only with made up controller/action strings? (e.g. "model::Period", "close") A bit simplistic
2006 Apr 15
2
Can''t run MySQL queries
Hi everyone, I''m having trouble actually running mysql queries. I can connect to the database, I think, but when a query gets run the following shows up in my log: SQL (0.000000) Mysql::Error: Lost connection to MySQL server during query: SHOW TABLES Any suggestions? Thanks! Daniel Higginbotham
2006 May 18
4
time select with am/pm?
Hi everyone, Is there a time select helper which uses a 12 hour clock rather than a 24 hour one? Also, does anyone know if :discard_year actually works in datetime_select now, or how I could find this out? Thanks! Daniel
2006 May 23
6
OT: best books
Hopefully this isn''t completely inappropriate, but lately I''ve been curious about what books people have found most helpful in their development as programmers. If one of the icons like Dave Thomas, DHH, Mike Clark, Andy Hunt et al could weigh in that''d be awesome :) Here are some of my favorites: Refactoring, Martin Fowler Mastering Regular Expressions, Friedl
2006 Jul 07
4
Controllers - model vs. use case centric
I am working on a reasonably large application (which happens to be my first with rails). I was hoping to get some input on organisation of controllers and actions. I am finding having used scaffolding more at the beginning my controllers tend to be very model centric, in that they mostly contain all the actions for management of that particular model, which may crash across multiple use
2006 Apr 16
12
tired of using defined? all the time
Hi everyone, It seems like every time I want to evaluate a possibly undefined variable I have to use defined? to see that it exists first, so I can''t simply have -- if params[:range_start] > 3 or something like it. I need to have -- if defined? params[:range_start] && params[:range_start] > 3 I can''t even have -- if params[:range_start].nil? This is really
2018 May 11
1
Re: Libvirt access control drivers
I see. I also know OpenStack uses libvirt, nova-compute has a driver for communication. I have briefly looked through these 10 thousand lines of code in overall on github for openstack's libvirt driver and didn't notice any user info as well. To make the picture full don't you know is there the same scheme there: some high level openstack api with user information and passing only
2003 Apr 02
1
Samba 3 (PDC+LDAP) problem with user-level access on Win9x
Hi there I am having a problem when using User-Level Access on Win9x with my Samba 3alpha22 domain. When editing Sharing properties for a directory, I select "Add" to modify or view the list of domain users available. I then get the following error: You cannot view the list of users at this time. Try again later. As far as I understand, this facility has been functional since Samba
2014 Jan 21
0
Apache Directory Level access control
CentOS-6.5 httpd-2.2.15 (centos) I am trying to understand how directory access control works in Apache-2.2. Does a means exist to revoke access in a subdirectory if access has been granted in a higher one? We restrict access to the entire site via htdigest but some directories are need to be further restricted by the group a user is assigned to. I have this situation: <Directory />
2002 Dec 31
0
user level access control with win9x and samba 2.2/3.0
Hello, I've set up a samba 3.0 (cvs 2002-12-27) domain with LDAP backend and about 800 users. I have some win95/98 clients and want to use user level access control. But if I try to fetch the list of users in the add-share dialog, windows says "You can not view the user list at this time. Please try again later." I've just checked this with samba 2.2.7a too and it didn't
2003 Jan 20
0
[patch] Recent IPv6 changes in rsync/access.c
Thanks, I will apply your patch, especially since (for the record) Hideaki posted in a reply: > > The suggested fix Daniel Hartmeier (an OpenBSD developer) had when > > I asked (for I'm not really a coder and I wanted to double check > > that this was a valid problem) was making the mask[w] assignment > > conditional like thus: > > > > if (w <
2006 May 18
6
Form actions with additional parameters
Hiall, I want to give the action of a form an additional parameters but can''t figure out how to do it. My code looks like this <%= start_form_tag :action => ''create'', next_step => true %> <%= render :partial => ''user_form'' %> <%= render :partial => ''community_form'' %> <%= submit_tag
2004 Apr 05
2
Controlling access at the Ethernet level
> What would you recommand ? Are there any other elegant solutions ? > How about using 802.1Q vlan's and dedicate a vlan to each port. If more than 4000 users then add more gateways. Just be sure to go for switches that allow you to deny incoming already tagged packets on the user side as some switches passes already tagged packets. For a wireless environment i would suggest PPPoE
2006 Apr 26
0
Controller and Model Responsibilities
Hi everyone, I am wondering what code has to go into the controller and what into the model. Generally I would think that all operations that keep the model in a proper state should be done within the model, and the controller should only provide the actions necessary to carry out the application''s use cases. Am I right so far? My situation is the following. Whenever an admin performs
2006 Jul 10
3
how to access a model from application.rb
Hi All How do I access a model from within the application.rb? What im tying to do is pull some data from a model (news in this case) that must be displayed on each page within the entire application. I know I could drop this into each controller, have each view pull it from the controller, but thats repeating myself... So whats the best way to do this (as I dont think models are visible
2005 Sep 22
0
AGI Script to interact with ACCESS Databse a nd Set CID info on the fly.
lol just posted this yesterday, it's for any ODBC DSN so Access or SQL or an Excel spreadsheet, as long as it's set as a DSN. This will work with outgoing Caller ID as well, it's just how you set it up in your dialplan. If you want I can email you the .agi since email will undoubtedly mangle the script. hth. HOWTO: A simple AGI application to modify incoming CallerID on the fly using
2007 Dec 07
4
capitalizing an attribute - view, controller, or model?
The users will enter students names on forms. How do I intercept the first and last names and have them stored capitalized when the user inputs them in lower case? Do I mess with the form html, skipping form_for helpers and using conditional clauses in the view? Do I need to separate out the individual attribute and update it separately in the controller actions that save/updates the
2018 May 09
0
Re: Libvirt access control drivers
On Wed, May 09, 2018 at 11:50:33AM +0300, Anastasiya Ruzhanskaya wrote: > Here https://libvirt.org/acl.html is stated that you designed this access > control system as pluggable. Are there any options ( even with modifying > libvirt code) to plug in any custom driver? > I just need to take a try and design something that will support remote > access control. > I am not sure if
2018 May 09
0
Re: Libvirt access control drivers
Great, thanks for pointing this out. I will certainly look at it. 2018-05-09 14:41 GMT+03:00 Daniel P. Berrangé <berrange@redhat.com>: > On Wed, May 09, 2018 at 10:00:19AM +0100, Daniel P. Berrangé wrote: > > On Wed, May 09, 2018 at 11:50:33AM +0300, Anastasiya Ruzhanskaya wrote: > > > Here https://libvirt.org/acl.html is stated that you designed this > access >