search for: accessdeni

Displaying 14 results from an estimated 14 matches for "accessdeni".

Did you mean: accessdenied
2011 Jun 05
1
Cancan redirect back at AccessDenied
Hello I have a rails 3 app and I am trying to implement the redirect back action at access denied for cancan. If I try this in my application_controller: rescue_from CanCan::AccessDenied do |exception| redirect_to :back end It gives the following error: No HTTP_REFERER was set in the request to this action, so redirect_to :back could not be called successfully. If this is a test, make sure to specify request.env["HTTP_REFERER"]. I can''t really understand...
2010 Jan 29
0
Plugin not catching exceptions
...cue Exception => e result = 0 end return result [...] When i try to execute this on the target server, I get this error : err: Could not retrieve catalog from remote server: Error 400 on SERVER: wrong fault-structure: {..., line 45, in check_super\n raise Exception(''AccessDenied'')\nException: AccessDenied\n"} at /etc/puppet/modules/... When I execute the RPC call in a standalone ruby script, it work as expected. Is there a limitation to catching exception with plugins ? I''m a ruby beginner, may be there''s a stupid mistake. Thanks -- Y...
2012 Aug 28
4
ArgumentError in HomeController#index
Hey guys, I''m new to ruby/rails and trying to sort something... I just created an app with composer, http://railsapps.github.com/rails-composer/ I used the command: rails new myapp -m https://raw.github.com/RailsApps/rails-composer/master/composer.rb I set up the rails server, and tried to load the app on localhost:3000 However, I end up with: ArgumentError in HomeController#index
2012 Apr 05
5
rspec: identical tests fails when repeated
...ogin @attributes = valid_attributes end # succeeds it "should create a new Premise" do lambda{ post(:create, {:premise => @attributes}, :format => :json) }.should change(Premise, :count).by(1) end # fails with CanCan::AccessDenied it "should create a new Premise again" do lambda{ post(:create, {:premise => @attributes}, :format => :json) }.should change(Premise, :count).by(1) end end I can''t figure out why the first test passes and the second test fails --...
2018 Aug 07
0
Centos 7.5..and My GDM Greeter/GDM Don't Work Anymore
...at login. > Aug 07 16:23:31 gs6102dsclxpvirgo3 gnome-shell[2023]: g_array_unref: > assertion 'array' failed > Aug 07 16:23:32 gs6102dsclxpvirgo3 gnome-shell[2023]: JS ERROR: > Exception in callback for signal: reset: Gio.DBusError: > GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: No session available > LoginDialog<._resetGreeterProxy at resource:///org/gnome/shell/gdm/loginDialog.js:837:29 > wrapper at resource:///org/gnome/gjs/modules/_legacy.js:82:22... Did the upgrade break something? Possibly. Any and all hints/ideas/etc. greatly welcomed. PEV -- Paul E...
2001 Nov 22
1
Getting Registry info and using it ????
HI All, I am basically installing network driver programatically on Win2000 using utility provided in DDK2000 samples which is snetcfg.exe which is a command line utility where you can provide the .inf file for the driver you want. But I have modified the 'C' program to install only my network driver. Now the .inf file it needs can be stored anywhere on the computer and I am storing the
2008 Oct 24
1
18179: session setup failed: ERRDOS - ERRnoaccess (Access denied.)
On a RHEL4u4 machine... [root@rincon mnt]# mount -t smbfs -o username=qamount,password=m0unt1\! //10.4.0.15/Builds /mnt/builds/ 18179: session setup failed: ERRDOS - ERRnoaccess (Access denied.) SMB connection failed 10.4.0.15 is a W2K3 R2 file server. Yes, I know this isn't a Samba question, but Google turns up absolutely nothing, and I figure Samba people are far more likely to have some
2007 Feb 15
0
Error handleing with redirect_to
I''m sketching out a error handler, something like if cando = false redirect_to( :controller => Oops, :action => ''accessdenied'', :type => ''alarm'', :message => ''no_permission_to_view'', :return_to => saved_url, ) else .... end Is this an internal redirection or does it immedate send that url to the browser a...
2014 Jul 31
0
Access denied when accessing via hostname
...04 as a domain member with AD on Win Server 2012. My hare is configured like this: valid users = @"EVSOFFICE.LOCAL+dangroup" When I try to connect to a share via IP from Win7 (part of the domain) it succeeds but when use host name \\node15 I can see shares but double-click on share shows AccessDenied. I'm trying to connect as EVSOFFICE.LOCAL\danclone which is part of DanGroup. When I specify valid users as EVSOFFICE.LOCAL+danclone or @"EVSOFFICE.LOCAL+Domain Users" I can connect successfully. But I want to specify more than one group here, rather than generic "Domain User...
2015 May 11
0
Vodafone K4203 Mobile Broadband on Centos7
...Objects" error name="(unset)" requested_reply="0" destination=":1.75" (uid=0 pid=3806 comm="/usr/sbin/ModemManager ") May 11 21:06:37 jvermeulen NetworkManager[886]: <warn> error creating ModemManager client: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.12" (uid=0 pid=886 comm="/usr/sbin/NetworkManager --no-daemon ") interface="org.freedesktop.DBus.ObjectManager" member="GetManagedObjects" error name="(unset)" reque...
2007 Mar 13
3
CentOS 5 (Beta) for i386 and x86_64 is released
The CentOS development team is pleased to announce the release of CentOS 5 (Beta) for i386 and x86_64. It is available via beta.CentOS.org mirrors and bittorrent. This release corresponds to the upstream vendor EL5 beta2 release. NOTE: This software is BETA and should be treated as such. It is for testing purposes only. Please ensure it meets your needs completely before using in a production
2007 Mar 13
3
CentOS 5 (Beta) for i386 and x86_64 is released
The CentOS development team is pleased to announce the release of CentOS 5 (Beta) for i386 and x86_64. It is available via beta.CentOS.org mirrors and bittorrent. This release corresponds to the upstream vendor EL5 beta2 release. NOTE: This software is BETA and should be treated as such. It is for testing purposes only. Please ensure it meets your needs completely before using in a production
2008 Mar 14
15
Am I off track on my testing?
Is it just me or does anyone else miss being able to create something quickly. Once you start writing all the tests your time is now increased by a factor of 10. I agree with the logic in testing, but am I doing something wrong? Take the simple example of a controller test for an index action that shows all the forum posts for a user account. The controller code would be something like what is
2012 May 23
8
Engine's Application Controller
Hi, I''ve been using rails 3 engines and (at least in my experience) the engine''s application controller is overidden by the app''s application controller. Wouldn''t it be better if the app would just load on top of the engine? I mean that if an engine''s application controller has methods or anything else that does not collide with the stuff defined