Skip to content

Commit

Permalink
Bump version and post news
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-shaw committed Nov 1, 2021
1 parent d9b7474 commit ca1009d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Package: susoapi
Title: Interface for Survey Solutions' APIs
Version: 0.1.1
Version: 0.1.2
Authors@R:
person(given = "Arthur",
family = "Shaw",
Expand Down
5 changes: 5 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# susoapi 0.1.2

- Fix `set_credentials()`. Better managment of pre-existing `.Renviron` files. Previously, the function could delete several or all key-value pairs in `.Renviron` while adding/updating Survey Solutions entries. Now, the function preserves all prior key-value entries. Also, tests have been added to check that this function works correctly going forward. A huge thanks to @petbrueck for spotting this and suggesting a fix (#20).
- Revise `check_workspace_param()`, a private function used to check that the API user has access to the user-specified workspace, to work better when the API user has access to few or only one workspace. Previously, the function fetched all workspaces to which the user had access. This only worked when the API user had admin rights to access the workspace endpoints. Now, the function checks whether the API user has access to the target workspace by fetching its user details for that workspace.

# susoapi 0.1.1

- Fix `get_interviewers()`. A private function was missing the workspaces argument. (h/t @ashwinikalantri)
Expand Down

0 comments on commit ca1009d

Please sign in to comment.