Solar_Access_Adapter_File::isAllowed()

public bool Solar_Access_Adapter_File::isAllowed ( object|string $spec = '*' , string $action = '*' , mixed $object = NULL )

Tells whether or not to allow access to a class/action/process combination.

Inherited from Solar_Access_Adapter.

Parameters

  • (object|string) $spec: If a string, the name of the class to control; use '*' for all values. If an object, the controller object itself.

  • (string) $action: The action within that class; use '*' for all values. For handle types, use '+' to indicate any non-empty handle (i.e., any authenticated user).

  • (mixed) $object: An object instance (application-specific) to check ownership on.

Returns

  • (bool) True if the current handle or role is allowed access, false if not.

Description

Tells whether or not to allow access to a class/action/process combination.

See Also



Local