pfappserver::Base::Form::Rule - Common Web form parameters related to user rules
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).
Dynamically build the list of available actions corresponding to the authentication source type.
Populate the actions select field with the available actions of the authentication source.
Populate the select field for the 'access level' template action.
Populate the select field for the roles template action.
Get the allowed options for the current user based off their role.
Populate the access duration select field with the available values defined in the pf.conf configuration file.
Validate that each action is defined only once.
Copyright (C) 2005-2015 Inverse inc.
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.