similar to: Authorization Plugin for Rails

Displaying 20 results from an estimated 3000 matches similar to: "Authorization Plugin for Rails"

2007 Aug 30
7
mock_model in spec/lib
Has anyone else run into a problem with trying to use mock_model in spec/lib ? For some reason, I can take the same spec, put it in spec/models, have it run fine, but put it in spec/lib, and have it complain about not being able to find #mock_model Thanks, Edward
2002 Jun 25
7
SAMBA-LDAP and variable substition
Hello, Im using Samba and LDAP together and if I use the scriptPath attribute for a user defined in LDAP, it seems that variable substitions no longer work like they did when you're using the global logon script parameter in smb.conf. example: scriptPath = scripts\%m.bat ==> %m.bat is NOT substituted to machinename.bat Because the "logon scripts" directive of smb.conf will
2005 Dec 09
7
UserEngine - rake bootstrap aborted
Hi there, I''ve just installed login_engine and user_engine from the repositories, followed the setup procedures as documented in: vendor/plugins/user_engine/README But I''m getting the following failure: vince@vaio:~/Projects/Booking$ rake bootstrap (in /home/vince/Projects/Booking) rake aborted! undefined method `edit'' for class `UserController''
2010 Jul 28
2
Nat issue one way audio on IP dial
hi there, i have posted earlier on the list but got no satisfying answer. the problem is not big. I have asterisk server directly connected with internet (79.80.x.x) and clients are behind router. clients/users are registered with asterisk and are using sipura and xlite softphone. Now problem is that when a user calls other by dialing his IP:Port (sip uri), call is connected fine and he can
2010 Mar 26
2
need help on setup rtp directly between 2 sip clients
Hi all my asterisk server, 2 sip client softphones are the same LAN asterisk ip address : 192.168.1.5 sip client 1 : 192.168.1.4 sip client 2 : 192.168.1.2 asterisk starts ok with sip setup the sip.conf [test] type=friend username=test secret=1000 host=dynamic context=cucku directmedia=yes directrtpsetup=yes [1000] type=friend username=1000 secret=1000 host=dynamic context=cucku
2006 Dec 28
1
one way rtp stream (Sent alwax to 127.0.0.1)
Asterisk version 1.2.14 I use snom190 and xliteV3 as sip phones. asterisk send the rtp stream never to the xlite softphone. Any hits for me? *CLI> rtp debug RTP Debugging Enabled -- Executing Dial("SIP/xlite-007918f0", "SIP/snom") in new stack -- Called snom -- SIP/snom-00797110 is ringing -- SIP/snom-00797110 is ringing -- SIP/snom-00797110 answered
2006 Aug 10
2
Authentication: UserEngine or own creation?
Hi all I''m coding a project that needs a lot of authentication stuff... e.g. I write sort of a profile area, where users can create their different profiles. So I need to check if a user has the right to browse the profiles, if he has the right to change them all (as an admin) or the ones that belong to him etc. etc. This needs quite some logic... Now I wonder whether to use the
2006 Jan 23
2
UserEngine -- Permission.synchronize_with_controllers -- trouble with my own controller modules
I suspect there''s an easier version of this question that I could ask, but I''m not sure where I''m going wrong. I have LoginEngine and UserEngine setup and seemingly running fine. However, not all of my controllers are being found when I run "rake sync_permissions". Specifically, it''s the controllers that are not in the base controllers folder, but
2016 Sep 02
2
Asterisk 13.11 realtime problem registering phones
I upgraded my office installation from 13.10 to 13.11 yesterday and now I am having problems registering phones. Here is what I get on the CLI: [Sep 2 15:38:46] WARNING[2098]: res_config_mysql.c:1162 require_mysql: Realtime table general at ps_contacts: column 'qualify_timeout' cannot be type 'int(10)' (need char) [Sep 2 15:38:46] WARNING[2098]: res_config_mysql.c:1162
2006 May 23
6
How to list all models of an application?!?
How can I get a list of all model classes in the domain of a Rails application (all models, both in "app/models" and in components/somedir/model.rb)? Thanx in advance for your precious help! Edoardo "Dado" Marcora
2008 Jul 21
1
Problems w/Asterisk Realtime + MySQL + SIP
Hi all, Asterisk is great but I'm having issues with setting up realtime for our call center, which is needed for login integration with the rest of our applications (telephonists' web interface, etc.). I have reviewed a large number of previous posts to the mailing list and the voip-info wiki to no avail. Setup is as follows: Linux 2.6.23 (gentoo) / AMD Athlon(tm) 64 Processor 3000+ /
2006 Mar 06
20
How painful is the 1.0 -> 1.1 upgrade going to be?
Does anyone have a sense for how painful the 1.0 -> 1.1 upgrade is going to be for existing apps? I''m finishing up my first real RoR application with Rails 1.0. I can live with it staying at that level, but I really want to use the has_many :through attribute to clean up some of my code. I''m not particularly interested in edge Rails, mainly because the documentation for
2016 May 16
2
Asterisk PJSIP Multi-tenant
Hello, with qualify_frequency=0 I can't receive calls from others endpoints. Other strange think is if I set mailboxes parameter on the console, when the endpoint registering, i can see: ERROR[2208]: res_pjsip.c:2946 create_out_of_dialog_request: Unable to create outbound NOTIFY request to endpoint 1001 at sip.domain.com WARNING[2208]: res_pjsip_mwi.c:379
2016 May 15
2
Asterisk PJSIP Multi-tenant
Hello List, following this thread: http://asterisk-users.digium.narkive.com/ulR5hd1M/same-pjsip-username-with-differents-domains I tried to configure on the pjsip.conf the same endpoint with different domains like: [1000 at sip.domain.com] type=endpoint [1000 at sip1.domain.com] type=endpoint I can register the two 1000 endpoints using different domain but on the Asterisk console:
2006 Feb 21
5
Abstracting ownership verification out of Controller
Right now I have a controller for "events" that belong to a specific user. I only want the creator to be able to edit or delete the event. I''ve got the proper foreign keys set up. I''ve finally arrived at the point where I can take baby steps with code, but looks like my first steps are in flagrant violation of the DRY principle. Here''s what I have so far in
2005 Dec 14
2
[UserEngine] Configuring minimal access without logins
Hi, I''m playing around with the UserEngine for limiting access to my app and I like what I see so far. One question, however, I''d like to be able to set it up so that any user navigating to the site is automatically set as "anonymous" or some such access level with minimal permissions, without having to login. IOW, the login function should only be used by
2006 Jan 19
4
UserEngine - rake bootstrap aborted => undefined method `synchronize_with_controllers'' for Permission:Class
Good day all. I have successfully installed Engines and LoginEngine and LE is setup and running correctly. However, after installing and setting up UE, when attempting to run the rake bootstrap method I get the following error: undefined method `synchronize_with_controllers'' for Permission:Class My environment is Rails 1.0.0 Ruby 1.8.2 WinXP WebBRICK MySQL 4.1.14 I found the following
2005 Dec 31
9
Railspdf plugin problem
Hi, For my app i need to generate pdf file for reports. I am trying the railspdf plugin, got it installed using command: ruby script/plugin install svn://rubyforge.org//var/svn/railspdfplugin/railspdf/ The problem is that when i re-started my webrick it won''t run, with errors messages like this (shown only first message): *D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5
2006 May 16
3
UserEngine and hiding controllers
I''m using LoginEngine + UserEngine for web application. 1. I have some controllers under and admin subdirectory (Admin::PostController etc). The auto-fill permission in UserEngine does not work correctly with those controllers. Right at the moment this is not a problem, since I kind like having the Admin section separated and available only for god users. However, I could use
2016 Feb 15
2
Asterisk 13.6.0/The simplest TCP configuration does not work
Thanks for the mighty quick response, Joshua! I am using Zoiper on Linux softclient: REGISTER sip:<ipAddr>;transport=TCP SIP/2.0 Changed the port back to 5060. On Mon, Feb 15, 2016 at 1:40 PM, Joshua Colp <jcolp at digium.com> wrote: > Sonny Rajagopalan wrote: > > <snip> > > > *CLI> pjsip set logger on >> PJSIP Logging enabled >> [Feb 15