Skip to content

Permissions Spec

Noah Huppert edited this page Jan 9, 2019 · 2 revisions

Permission Spec

User privileges.

Table Of Contents

Overview

Flock uses role based authentication control.

There are several elements which enable this functionality as described in the Elements section.

Details about how permissions are checked are detailed in the Enforcement section.

Definitions of elements which provide permission functionality specific to Flock are located in the Permission Definitions section in the sidebar.

Elements

Pieces of the permission system.

Policy

Policies contain a list of actions.

Action

Actions allow specific service methods to be invoked.

Action names are formed by a combination of the service and method names:

<service name>:<method name>

Ex: User:Get

Condition

Conditions determine which policies apply to users.

Enforcement