similar to: Any reason not to further restrict the action names hidden by default?

Displaying 20 results from an estimated 4000 matches similar to: "Any reason not to further restrict the action names hidden by default?"

2006 Jul 24
1
Injecting actions into controllers
Hi, I''m trying to write a plugin that should inject an action into the controller. Please note, not just an instance method, but also an _action_, one of those that are listable by running ControllerClassName.action_methods. I wrote the following code: def render_field_search(name, object, controller, options = {}) controller.class.class_eval do
2005 Mar 02
4
Action ''display'' doesn''t work in 0.10.0
Hello, While trying to get a 0.8.5 rails application to run under 0.10.0, I discovered that an action called ''display'' no longer worked. (As example it''s still existant in ctionpack-1.5.0/README). After a long search, I discovered that the reason is that ActionController::Base inherits from Object, and because there is Object#display it will no longer be called as
2006 May 05
11
Listing Actions
OK, call me crazy, but am I the first one to want to list out the actions that are available @ runtime? Anyone else come across this yet? Am I crazy? Well, yes, but... -- Posted via http://www.ruby-forum.com/.
2007 Dec 16
0
pass the model type to the action via a hidden field?
I have a question about the acts_as_commentable plugin. In the instructions it says to use hidden fields to pass the model type and model id. This is somewhat confusing me. I am trying to add comments to a user object and am not sure how to specify the model type. This is the link that I am using to get the comment view where one will enter his/her comments: <%= link_to "add a
2008 Jul 07
3
How to get a users screen name into a hidden field in a PostsController action?
Instead of the user entering a name, I want to pass their screen name along with supplied :title and :content fields. here is what I''ve got.. f.hidden_field :author, user.screen_name here is the create method from Posts controller: def create @title = "Gravity" @user = User.find(params[:id]) # this does not work, and I don''t know why if request.post?
2013 Feb 01
1
Expresiones regulares y nombres de variables
Hola a todos, de nuevo una pregunta referente a expresiones regulares. en este caso me estaba preguntando si se puede suministrar el valor de una variable a la exp. regular: ls(pattern=(''res_Slag_.*16_17_18'')) donde ''Slag'' es una variable de carácter (Slag=''UP'') por lo que de arriba tendria que devolver algo asi como:
2005 Mar 05
1
problems with authentication -- restrict certain actions to certain users
Ok, so at this point I''ve got my app completely written, including the login generator, and I''ve even got stuff like the layout done up all nicely so that the login page matches the rest of the site nicely. All is good. But there''s one problem: I''m not running a wiki here, I''m running a personal site. As it is, any schmuck can log in, and anybody
2008 Dec 19
3
Recommended way of restricting action permissions?
Hi, I just have a "best practices" question. I''d like to block users that don''t own a particular resource from performing edit/update/ destroy actions on it. Here''s how I currently do it: ## User has many resources, of different types ------- resource_controller.rb ------- before_filter :require_ownership, :only => [:edit, :update, :destroy] ... public
2011 Oct 25
0
[LLVMdev] [RFC] What options should be hidden/not-hidden for opt command
On Oct 24, 2011, at 8:29 PM, 陳韋任 wrote: > Hi, all > > Take the discussion thread [1] as an example. Although "-help-hidden" > is not intended to be use by normal folk, I think there should be > somewhere notes "-help-hidden" revealing more options which might be > needed by developers. I thought it will be a good idea to mention the > existence of
2011 Oct 26
1
[LLVMdev] [RFC] What options should be hidden/not-hidden for opt command
> The logic here is that these flags should only be used by people looking at code. For example, if a pass has a hidden option that controls some knob, you should only find out about it by reading the code. We don't want people surfing through all the hidden options to "see what is available". I see. Maybe we can tell people the existence of "-help-hidden" and also
2008 Jul 10
1
After upgrade from 1.0 to 1.1.1 my "hidden" private namespaces suddenly aren't hidden anymore...
Just upgraded my home mail server from version 1.0 to 1.1.1 and now I noticed that Thunderbird has started showing the 'hidden' namespaces (albeit "greyed") for that server (see the attached JPG image)... What can I change to really make them hidden again? The only thing I changed in my dovecot.conf file from 1.0 to 1.1.1 was to add the following two lines:
2016 Nov 21
0
nologin + reason -> logging reason
On Nov 21, 2016, at 7:39 AM, Arkadiusz Mi?kiewicz <arekm at maven.pl> wrote: > reason is the only thing in maillog that allows to distinguish why user was > not allowed to log in. Um? the only thing? How about where you set the reason in the first place? I think the assumption with nologin is that the admin knows the reason, especially considering that nologin is drastic and is
2016 Nov 21
1
nologin + reason -> logging reason
On Monday 21 of November 2016, @lbutlr wrote: > On Nov 21, 2016, at 7:39 AM, Arkadiusz Mi?kiewicz <arekm at maven.pl> wrote: > > reason is the only thing in maillog that allows to distinguish why user > > was not allowed to log in. > > Um? the only thing? How about where you set the reason in the first place? That "first" place is constantly changing
2016 Nov 21
0
nologin + reason -> logging reason
On 21 Nov 2016, at 16.39, Arkadiusz Mi?kiewicz <arekm at maven.pl> wrote: > > > Hi. > > I'm using nologin with own reason [1]. That works fine. For example pop3 > client gets nice message like "-ERR [AUTH] Account is locked. Please contact > support." > > > Unfortunately maillog lacks information details about why user was not allowed >
2011 Oct 25
2
[LLVMdev] [RFC] What options should be hidden/not-hidden for opt command
Hi, all Take the discussion thread [1] as an example. Although "-help-hidden" is not intended to be use by normal folk, I think there should be somewhere notes "-help-hidden" revealing more options which might be needed by developers. I thought it will be a good idea to mention the existence of "-help-hidden" on the web page, but the patch I sent brought some
2016 Nov 21
4
nologin + reason -> logging reason
Hi. I'm using nologin with own reason [1]. That works fine. For example pop3 client gets nice message like "-ERR [AUTH] Account is locked. Please contact support." Unfortunately maillog lacks information details about why user was not allowed to log in. pop3-login: Disconnected (auth failed, 1 attempts in 2 secs): user=<testuser>, method=LOGIN, rip=1.1.1.1, lip=2.2.2.2,
2005 Sep 04
2
Blew away MySQL
Unfortunately, I blew MySQL away by replacing the MySQL control tables with others and not making a copy of the folder. My data is backed up, so that is not a problem, but I cannot reinstall MySQL and create the mysql directory with the control tables (e.g. user, db, host). I have run "yum remove mysql" and "yum install mysql" and "yum install mysql-server" and
2007 Aug 14
2
Adding Things to Rescue Mode
I'd like to add a few things to rescue mode. I'm tired of having to use a floppy with hardware drivers when ever I need to go into rescue mode and there are a few other utilities that I'd like to add as well. How would I go about doing this? Any pointers to FAQ's or "How to's"? I've done some searching, but haven't found anything recent enough to be
2018 Aug 04
0
Fwd: Restrict local Storage use and Restrict web Access via any Browser via Group Policy on Windows Desktops
> Hi , > > > Need to see if it is possible to do > > * Restrict local Storage use - Means how to restrict via group policy > so that logon user in Samba AD will not be able to save any files on > local storage of C: of D: drives . He can save on mapped Drive ( > From Samba File Server ) . > * Restrict web Access via any Browser via Group Policy
2007 Nov 22
4
Port 631 closed, not hidden
I have the firewall turned on my CentOS 5 box, but GRC is reporting that 631 is closed instead of stealthed. If the firewall isn't configured to allow that, then why might that be happening? Miark