Docs »

Workers »

Roles

Workers generally don’t have equal authority in executing their duties. For instance, someone in an entry-level position shouldn’t have access to destroy important business records without any oversight.

In Cerb, sets of privileges are granted to workers using roles.

Multiple roles can be applied to the same worker. Roles can also be automatically applied to workers based on their group memberships.

A particular privilege is granted to a worker if any of their roles permit it.

Special workers called administrators have no restrictions on their privileges. It is their job to decide which privileges everyone else needs in order to accomplish their jobs.