gocodebox / gocodebox/lifterlms

Contextual Personas on top of Sitewide Roles

Open
#611 1 comment 0 reactions 0 assignees View on GitHub
Type: Enhancement Type: Question
Dominant language
PHP
Stars
212
Forks
140
Avg merge
2d 14h
Merged PRs (30d)
19

Description

* As described in #610, User Roles are personas and collections of capabilities.
* User gets capabilities at runtime
* from Sitewide Roles stored in `wp_options`
* from Personal capabilities stored in `wp_usermeta`

This can be extended to create Object specific roles (called Personas) which would be a collection of capabilities just like Roles stored in `wp_postmeta`.

This can be further extended to provide personal capabilities specific to an object stored in `wp_llms_user_postmeta`.

At any given point during the course experience or administration, the users' total capabilities would be a result of all the above. This would allow very granular and simple permission and privacy management at every level. This would make it easy to create extremely flexible and drippable permission and privacy module in LifterLMS for courses and memberships.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.