Class PermissionAction

Direct Known Subclasses:
AddCreditCardAction, CancelAction, CancelFeedbackAction, CancelFeedbackCompletedAction, ConfigureAutomaticBillingAction, ConfigureAutomaticBillingCompletedAction, CreateAction, CreateCompletedAction, CreditCardManagerAction, DeleteCreditCardAction, DeleteCreditCardCompletedAction, EditAction, EditCompletedAction, EditCreditCardAction, GlobalPasswordSetterAction, GlobalPasswordSetterCompletedAction, LinuxAccountPasswordSetterAction, LinuxAccountPasswordSetterCompletedAction, MakePaymentSelectCardAction, MakePaymentStoredCardAction, MysqlPasswordSetterAction, MysqlPasswordSetterCompletedAction, MysqlReplicationMonitorAction, PostgresqlPasswordSetterAction, PostgresqlPasswordSetterCompletedAction, VncConsoleAction

public abstract class PermissionAction extends AuthenticatedAction
Makes sure the authenticated user has the necessary permissions to perform the requested task. If they do not, sets the request attribute "permissionDenied" with the List<AoservConnector> and returns mapping for "permissionDenied". Otherwise, if all the permissions have been granted, calls executePermissionGranted.

The default implementation of this new executePermissionGranted method simply returns the mapping of "success".

Author:
AO Industries, Inc.