File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
services/graph/pkg/service/v0 Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,9 @@ func (g Graph) AssignTags(w http.ResponseWriter, r *http.Request) {
8686 return
8787 }
8888
89+ // use resource id from stat response to work on the actual resource and not a share jail item
90+ rid = * sres .GetInfo ().GetId ()
91+
8992 pm := sres .GetInfo ().GetPermissionSet ()
9093 if pm == nil {
9194 g .logger .Error ().Err (err ).Msg ("no permissionset on file" )
@@ -185,6 +188,9 @@ func (g Graph) UnassignTags(w http.ResponseWriter, r *http.Request) {
185188 return
186189 }
187190
191+ // use resource id from stat response to work on the actual resource and not a share jail item
192+ rid = * sres .GetInfo ().GetId ()
193+
188194 pm := sres .GetInfo ().GetPermissionSet ()
189195 if pm == nil {
190196 g .logger .Error ().Err (err ).Msg ("no permissionset on file" )
You can’t perform that action at this time.
0 commit comments