Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
"let" is lexically scoped.
|
|
This link has the {{ resource_id }} set because it's a required
argument for the "@edit_admins_access_required" decorator
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This endpoint either makes resources public or non-public by tweaking
the access-masks.
|
|
|
|
|
|
|
|
|
|
This now supports passing the `resource_id` directly.
|
|
|
|
|
|
|
|
A group does not have "admin" privileges. Instead, a user can have
admin privileges over a particular group.
|
|
|
|
|
|
Use the new auth proxy tools instead.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This function is coupled to "wqflask.app", therefore requiring it's
import at the module level. This may lead circular importation issues
when working with blueprints.
|
|
|
|
Hacky but re-implement `hmac_creation` as `create_hmac`
|
|
This avoids calling Redis twice when fetching metadata about the
resource.
|
|
If a user has several access roles, select the highest role.
|
|
|
|
Borrowed from:
<https://github.com/woodruffw/ordered_enum/tree/master/src/ordered_enum>
|
|
|
|
This module is coupled to `utility.redis_tools` which needs to be
deprecated. Also, the routes are created by importing `app` instead of
creating a new blueprint.
|
|
|
|
|
|
All new API definitions should be migrated to "wqflask/ api"
|
|
|
|
|
|
|
|
|