v0.11.3
v0.11.3 (2023-10-17)
Ci
- ci: Added job to trigger docs workflow
On release, the api release workflow will trigger workflow in the docs repository with event update_api_changelog (c68bd48
)
Fix
- fix: Fixed delete actions of Workspace/Group
Due to changed to policies, upon deletion of Workspace/Group the related Policies could not be fetched and therefore deleted. Using DBref, the updated actions find and delete policies without even fetching them first (764cd57
)
- fix: Updated policy as a workaround for #75
A workaround for issue #75, the parent_resource
was converted to the Link type, which is manually populated using create_link() method. Since Beanie cannot/struggles to fetch links of multiple types, two new class methods were added: get_parent_resource() uses link reference to find and return parent document(Workspace/Group/Poll), and get_policy_holder() finds and returns document of policy holder(Account/Group). (7ac8180
)
- fix: Changed the default permission for new group
Replaced GROUP_BASIC_PERMISSIONS with WORKSPACE_BASIC_PERMISSIONS (ff0a65f
)
Refactor
-
refactor: Fixed mypy issues (
8cb2916
) -
refactor: Changed remove_policy method
Renamed remove_policy to remove_member_policy, and added new remove_policy method which takes policy as an argument (ddfe048
)
Style
- style: Fixed resource spelling (
6ffa917
)
Test
- test: Styling
Provided query parameter using params argument instead of passing as a part of url string (d4f986c
)
- test: Fixed set_permission_test
Added account_id parameter when checking account permissions (b68a4b1
)
Unknown
- Merge pull request #76 from unipoll/development
Policies Patch (697406d
)
-
Untrack .vscode (
3885ec1
) -
Update README.md
Updated Postman Documentation link (9d17121
)
- Merge branch 'main' of github.com:unipoll/API (
f60d80b
)