Logo: Relish

  1. Sign in

Project: Dill

Roles

Use a role whenever you want to group actions that are specific to a certain kind of user, or to a user performing tasks in a certain context.

For example, if you have an app with a public area, an area that is specific to registered users and an area that is specific to admins, then you may have 3 different roles: visitor, user and admin. But you may want to sub-divide these roles even further: a user that is managing their account performs a different set of tasks than does a user that is shopping.

Topics

  1. Overview
  2. .widget macro
  3. .form macro
  4. Action DSL
  5. Expectations
  6. .list macro

Last published about 7 years ago by David Leal.