Summary
Add a function that verifies whether a given connection object (such as an Opal server) has the necessary permissions to run the generic methods under the 5 safes principles (e.g., safe_data(), safe_people(), safe_project(), etc.).
Requirements
- Implement a function that checks access rights for the relevant
safe_* methods (at minimum: data, people, project, outputs/logs and settings/profiles).
- If permissions are insufficient, provide clear, actionable feedback to the user.
- Include in the feedback how to configure their server or user account to obtain the needed permissions (with links to relevant documentation or sections).
- The function should handle connections to Opal and should be extensible for other connection types in the future.
- Add examples and documentation for usage.
Rationale
- Users often encounter failures due to lack of permissions but are not provided with guidance.
- Helping users properly configure permissions will reduce confusion and improve adoption of the safe_* 5 safes principle methods.
Acceptance Criteria
References:
Summary
Add a function that verifies whether a given connection object (such as an Opal server) has the necessary permissions to run the generic methods under the 5 safes principles (e.g.,
safe_data(),safe_people(),safe_project(), etc.).Requirements
safe_*methods (at minimum: data, people, project, outputs/logs and settings/profiles).Rationale
Acceptance Criteria
References: