-
Notifications
You must be signed in to change notification settings - Fork 5
Hard-coded responses in shareInfoToResourceInfo #162
Comments
I think we need 2 step work. The first one is that do we need an endpoint from Reva. We just mockup it and have hardcoded data, but we can't take it from the Reva side. But the second one does we need to save in an additional table this permission. |
On next cloud we have a permission like an integer. But from Reva side we need to save it like array of permissions
|
@Triantafullenia-Doumani will look at this this afternoon from 13:00 |
The values are these: https://github.com/pondersource/nc-sciencemesh/blob/099b11e/lib/Controller/RevaController.php#L251-L306 |
Maybe |
Note: the 'permissions' column should be removed from the ScienceMeshShares table. Instead, we store them using |
We still have hard-coded responses from this function
In the case of addReceivedShare it's even a hard-coded JSON string
The text was updated successfully, but these errors were encountered: