aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-10-25change_resource_owner.html: Update endpoint for user-searchBonfaceKilz
This link has the {{ resource_id }} set because it's a required argument for the "@edit_admins_access_required" decorator
2021-10-25Add "POST /resource-management/<resource_id>/users/search"BonfaceKilz
2021-10-25Add "GET /resources/<resource_id>/change-owner" endpointBonfaceKilz
2021-10-25utility: redis_tools: Remove dead functionsBonfaceKilz
2021-10-25manage_resource.html: Update the URL for updating the ownerBonfaceKilz
2021-10-25decorators: Use the correct logic to check for edit_admins_accessBonfaceKilz
2021-10-25Update failing tests when testing `get_user_access_roles`BonfaceKilz
2021-10-25Use gn-proxy to fetch access-roles instead of looking at redisBonfaceKilz
2021-10-25Add `edit_admins_required` decoratorBonfaceKilz
2021-10-25Add "GN2_PROXY" as a configurable optionBonfaceKilz
2021-10-25scripts: resource: Add value for "admin" when updating resourcesBonfaceKilz
2021-10-25Add `POST resource-management/resources/<resource-id>/make-public`BonfaceKilz
This endpoint either makes resources public or non-public by tweaking the access-masks.
2021-10-25wqflask: resource_manager: Add "resource_id" to resource dictBonfaceKilz
2021-10-25resource_manager: Use := to store embellished resource dictBonfaceKilz
2021-10-25Rename manage_resource -> view_resourceBonfaceKilz
2021-10-25manage_resource.html: Toggle the "is open to public" radio buttonsBonfaceKilz
2021-10-25wqflask: decorators: Make `edit_access_required` more genericBonfaceKilz
This now supports passing the `resource_id` directly.
2021-10-25Move access_roles enums to it's own moduleBonfaceKilz
2021-10-25scripts: resource.py: Add shebangBonfaceKilz
2021-10-25scripts: group.py: Add extra optional arg to specify uidBonfaceKilz
2021-10-25scripts: group.py: Add shebangBonfaceKilz
2021-10-25wqflask: decorators: Fix type when calling hexdigest()BonfaceKilz
2021-10-25manage_resources.html: Clean up htmlBonfaceKilz
2021-10-25manage_resource: Remove column "Admin" from group permissions tableBonfaceKilz
A group does not have "admin" privileges. Instead, a user can have admin privileges over a particular group.
2021-10-25manage_resource: Add missing bootstrap "table" classBonfaceKilz
2021-10-25manage_resource.html: Remove unused stylesheetsBonfaceKilz
2021-10-25authentication_tools: Mark `check_owner_or_admin` as deprecatedBonfaceKilz
Use the new auth proxy tools instead.
2021-10-25Add "GET /resource-management/resources/<resource_id>"BonfaceKilz
2021-10-25wqflask: resource_manager: Add `add_extra_resource_metadata` methodBonfaceKilz
2021-10-25Remove dead lineBonfaceKilz
2021-10-25manage_resource.html: Display group name next to it's unique idBonfaceKilz
2021-10-25manage_resource.html: If owner owns a resource display their nameBonfaceKilz
2021-10-25manage_resource.html: Remove "flash"BonfaceKilz
2021-10-25utility.hmac: Label "hmac_creation" as deprecatedBonfaceKilz
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.
2021-10-25decorators: Add `@login_required` decoratorBonfaceKilz
2021-10-25Remove "utility.hmac.hmac_creation" which causes circular importsBonfaceKilz
Hacky but re-implement `hmac_creation` as `create_hmac`
2021-10-25Replace "resource_id" with "resource_info" dictBonfaceKilz
This avoids calling Redis twice when fetching metadata about the resource.
2021-10-25Get a users access maskBonfaceKilz
If a user has several access roles, select the highest role.
2021-10-25Add immutable data structures for admin and data access rolesBonfaceKilz
2021-10-25resource_manager: Add OrderedEnumBonfaceKilz
Borrowed from: <https://github.com/woodruffw/ordered_enum/tree/master/src/ordered_enum>
2021-10-25resource_manager: Add `get_user_membership` methodBonfaceKilz
2021-10-25resource_manager: Delete every route & helper method in this moduleBonfaceKilz
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.
2021-10-25Add test-cases for `get_user_membership`BonfaceKilz
2021-10-25Mark `get_resource_info` as deprecatedBonfaceKilz
2021-10-25Add default setting for REDIS_URLBonfaceKilz
2021-10-25Move markdown_routes to api/markdownBonfaceKilz
All new API definitions should be migrated to "wqflask/ api"
2021-10-25api: correlation: Delete unused importsBonfaceKilz
2021-10-25api: correlation: Delete unused loggerBonfaceKilz
2021-10-22Include the admin privilege for the 'editors' group, since it wasn't being ↵zsloan
set before (which caused some problems)
2021-10-22Fix line pulling GN3_LOCAL_URL from settingszsloan