<<

NAME

pfappserver::Base::Form::Rule - Common Web form parameters related to user rules

DESCRIPTION

Common form definition to define actions related to a user or a users source. This form is intended to be used along other forms (User::Create, Authentication::Rule).

field_list

Dynamically build the list of available actions corresponding to the authentication source type.

options_actions

Populate the actions select field with the available actions of the authentication source.

options_access_level

Populate the select field for the 'access level' template action.

options_roles

Populate the select field for the roles template action.

_get_allowed_options

Get the allowed options for the current user based off their role.

options_durations

Populate the access duration select field with the available values defined in the pf.conf configuration file.

validate

Validate that each action is defined only once.

COPYRIGHT

Copyright (C) 2005-2015 Inverse inc.

LICENSE

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.

<<