Permissions for a merged dataset not applied when a project is shared with user
kelvin-muchiri opened this issue · 1 comments
kelvin-muchiri commented
Environmental Information
- Onadata version: v4.1.0
Problem description
When a merged dataset is created, the permissions are applied correctly for existing users on the project. However, when a new user is added to the project or organization, the permissions are not applied, and the user gets a 404 when they access the dataset.
Expected behavior
A user with the appropriate permissions should view a merged dataset if the user was added after the merged dataset was created
Steps to reproduce the behavior
- Create a merged dataset
- Add a user to the project or organization with the appropriate permissions to view a merged dataset.
- Login as the user or request the user to access the dataset. They will get a 404 response.
- Create a new merged dataset under the same project. The user can now access the latest merged dataset and will get a 200 response.
Additional Information
Logs, related issues, weird / out of place occurrences, local settings, possible approach to solving this...
faith-mutua commented
@kelvin-muchiri this issue has been resolved. Users can now view merged datasets when they are added to a project after the merged dataset was created.