similar to: (yet another) AccessControl Plugin

Displaying 20 results from an estimated 10000 matches similar to: "(yet another) AccessControl Plugin"

2007 May 24
3
Help with Create and Update with options_for_select in a select_tag
I have a select_tag in my view that uses options_for_select with multiple = true. I am having trouble figuring out the Rails way to create and update that field. Please help. Models: ------------- Service has_many AccessControl AccessControl belongs_to Service application.rb ------------------------- $types = Array["Athens", "htpasswd", "IP", "None",
2007 May 24
1
How do I show the selected values in options_for_select? Not as simple as it sounds.
How do I show the selected values in options_for_select? I have a Service model and a AccessControl model. When a user edits a Service I want the services access_controls to be pre-selected. Models: Service has_many AccessControls AccessControl belongs_to Service application.rb: $types = Array["Athens", "htpasswd", "IP", "None", "Other",
2007 Jul 26
2
Suppress SELECT after INSERT
Hi, is there a way to suppress ActiveRecords reload after I saved an record? Regards Florian --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email
2008 Dec 01
3
acts_as_versioned and rails 2.2.2
Hi people I have tried to install the acts_as_versioned gem from github in rails 2.2.2 but it seems to conflict with some methods in the activerecords dirty.rb-file. I can solve some of the problem by changing code in the activerecord, but I don''t think that was the intention. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to
2006 Mar 22
4
Problem with ACL plugin system
Don''t know if anyone else has experienced this but I''m having a problem with the access_denied method in Ezra''s ACL access control plugin. It''s working fine (in conjunction with acts_as_authenticated) until it comes across a user it denies access to, in which case it throws the following error: NoMethodError in Admin#index protected method
2006 Feb 21
0
acl_system plugin first look
Friends- Here is another plugin hot off the presses of the three day weekend ;) Its a role based authorization system. I have been talking with Bill Katz about this system so it ties in with his recent announcement as well. Its just my implementation. Its an acl/role type system that can sit on top of the acts_as_authenticated login system or any login system that implements a few
2006 Aug 05
2
acl_system2 undefined method `access_control''
I''ve installed acts_as_authenticated and have that working like a charm and now would like to add the acl_system2 plugin so I can do some role based authorization stuff. I went ahead and installed the plugin like this: >ruby script\plugin source http://opensvn.csie.org/ezra/rails/plugins/dev/acl_system2 Then I installed the lib and test >ruby script\plugin install lib >ruby
2007 Aug 29
2
:order based on an aggregate value?
Hi all, I''m building an app where each :referral has_many :sales. In a list of all referrals, I''m displaying referral.date, referral.other_details, and also referral.sales.count. I want to able to sort this list by that last column -- the number of sales per referral. Abstractly, I want to do something like @referrals=Referral.find(:all, :order=>sales.count_all). But
2006 Dec 20
0
[Xense-devel] [PATCH] [3/4] Flask XSM tools
This patch implements the Flask tools for the xen control plane (xm & xend). The patch also refactors the ACM toolchain so that a common security API (based on the existing ACM toolchain) is exported to xm and xend. To create a domain with the Flask module, add the following (for example) to a domain''s configuration file access_control =
2007 Sep 25
4
[XSM:ACM] When cw is used, dom0 reboots.
Hi , When cw is used, dom0 reboots. Though I set quest memory size. I want to study into the cause. Please teach how to examine it. #xm create vm1.conf <-- OK #xm create vm4.conf <-- NO ................... <-- system boot #last root pts/1 myPC Tue Sep 25 11:25 - crash (09:01) reboot system boot 2.6.18-xen Tue Sep 25 20:06 (-8:-16) ~~~~~~~~~~~
2008 May 14
7
A copy of XX has been removed from the module tree but is still active!
I have a class in my /lib/ directory called tracker.rb It''s function is to receive an array of URLs and then perform 4 separate tasks on each URL Each of the 4 tasks gets it''s own thread. the class is called from my controller like: output = Tracker.go([array_of_urls]) Sometimes, when it hits an exception, instead of just dieing gracefully, my logs repeatedly display: A
2007 Aug 11
2
Rspec and acl_system2 plugin
Hello, I''m trying to spec a Rails application using the couple restful_authentication/acl_system2 plugins. In my admin layout, I put the following code : <% restrict_to "admin" do -%> <ul id="admin-tabs"> <li> /users Users management </li> </ul> <% end -%> Then in my spec file
2007 Dec 19
1
Error: Not enough memory is available, and dom0 cannot be shrunk any further
Hi, I compiled the xen-3.2 unstableand have booted successfully into dom0. When I try to start a domU, it gives me an error: [root@xx xx]# xm create -c /etc/xen/fedora.fc6.cse Using config file "/etc/xen/fedora.fc6.cse" Error: Not enough memory is available, and dom0 cannot be shrunk any further xm list gives: Name ID Mem VCPUs State
2006 Jun 26
0
How to limit access to model objects based on role?
Hi all, I want to limit access to model objects based on the role of the logged in user. It seemed the most blunt way of doing this would be make copies of each controller which accessed the models and use one of the access control systems out there to limit access to the controllers. However, with 9 different controllers this seems like a terrible choice. Here''s what I''ve
2006 May 10
0
Ezra''s acl_system2 and flash not getting populated in functional tests
Hi all, I am using the LoginGenerator and Ezra''s acl_system2 to protect certain actions in my controllers. I have written some functional tests to check for correct handling of redirects, flashes, etc. The flashes however only get populated on the first get action in any given test. Here is what I have so far: In the controller: class PageController < AC before_filter
2007 Oct 18
0
ACL System restrict_to
Does the restrict_to method only work in the views for some reason? I have tried it in the controller and i get the "undefined local variable or method `restrict_to'' for Admin::SurveysController:Class" Ive even copied the code from the access_control.rb in the plugin to the application_helper but it still keeps giving the same error. def restrict_to(logicstring, context = {})
2005 Mar 15
1
(Yet another) Music on hold problem and another...
Hi, I've recently installed Asterisk and have got the majority of it configured (what an excellent piece of software it is, too), but I'm having a couple of problems. The first one is with music on hold! I've downloaded and installed mpg123 as specified: ># whereis mpg123 >mpg123: /usr/local/bin/mpg123 It's the correct version: >#
2006 Jul 12
2
YART (Yet Another Rails Talk)
This morning I gave a talk on Rails to the NYC CTO Club. The slides for are online at http://www.io.com/~jimm/writing/rails_ctoclub/s5/index.html. Hover over the bottom right corner of the window to see the navigation controls, including the one that brings up the notes. Printing the slides works really well; the presentation includes CSS that formats the whole thing for print output. The main
2006 Jun 12
0
JobsOnRails and Yet Another Portal
I just launched two Rails projects that I''ve been sitting on for a while. The first is JobsOnRails.com, which I announced here back in March. After the 37''s created their nifty job board I decided to shelve mine, but have launched it anyway because it was just about finished. There isn''t much on it right now, but it''s free and has a fun domain, so if
2006 Jun 13
0
Yet Another Apache/FastCgi Setup Issue
I have set up FastCGI on the server and added 2 servers/processes and increased the timeout from 30seconds to 60seconds. I _think_ I did that properly because I now have to wait the full 60 seconds like clockwork until I get the "Rails application failed to start" when I browse to my URL. Before it was 30 seconds like clockwork. When I run "ruby dispatch.fcgi" I get the