Skip to content
This repository was archived by the owner on Nov 25, 2020. It is now read-only.

RFC: Permissions

Wesley Overdijk edited this page Mar 2, 2016 · 4 revisions

This document describes the responsibilities and functionalities for aurelia-permissions.

Aurelia-permissions is a module that exposes a set of filters and services, that allow you to verify if the current user has access to the requested action.

Services

[TBD: e.g. .isAllowed('resource')]

Filter

[TBD: e.g. https://github.com/spoonx/aurelia-auth#making-the-aurelia-router-authentication-aware]

Integrations

[TBD: e.g. Router to show / hide pages]

Init

.fromAuth()

Will attach itself to aurelia-auth, and use the payload to determine the roles and permissions for the currently authenticated user.

Clone this wiki locally