-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow sharees to see results | Implement PERMISSION_RESULTS
#1461
Conversation
206085f
to
6ad7f27
Compare
PERMISSION_RESULTS
fdba674
to
1fcfbee
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #1461 +/- ##
============================================
+ Coverage 35.47% 38.91% +3.43%
- Complexity 532 556 +24
============================================
Files 52 53 +1
Lines 2224 2295 +71
============================================
+ Hits 789 893 +104
+ Misses 1435 1402 -33 |
dbf32d6
to
e8cad3b
Compare
PERMISSION_RESULTS
PERMISSION_RESULTS
883b241
to
703f2a7
Compare
This was due to wrong "share permissions" on the frontend, fixed that |
872d099
to
7cf945c
Compare
I resolved the comments and added an additional integration test for updating share permissions. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one small doc remaining, code should be ok.
- But let's first get Fix insert #1465 merged and released. Then we can adapt the API calmly afterwards.
f6a347f
to
ae2d903
Compare
Fixed that :) |
Allow users with `results` permission to query and export results Signed-off-by: Ferdinand Thiessen <[email protected]>
* Add unit tests in `FormsService` and `ShareApiControllerTest` * Add permissions to share API documentation Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
Signed-off-by: Ferdinand Thiessen <[email protected]>
Check permission on frontend to show delete buttons Signed-off-by: Ferdinand Thiessen <[email protected]>
ae2d903
to
a032c3c
Compare
Summary
I currently really need the ability to share responses / have multiple users to be able to see the results of a form.
So this implements this feature by adding the available but currently unused permissions to shares and allowing users with permission
results
to see the submissions.Screenshot
Not much visually added except for the permission checkbox (later an other checkbox for the
edit
permission could be added):Todo
ShareApiController
ApiController
FormsService