-
Notifications
You must be signed in to change notification settings - Fork 2
CQL Recipes
ng-druid edited this page Jun 8, 2025
·
5 revisions
Create resource permission.
- 0 = user
- 0 = site/repo?
- 1 = write
INSERT INTO "ClassifiedsDev".resources2 (user,type,resource,asset,op,created) VALUES ('e36b42fe-b09c-4514-a519-e178bb52957e',0,0,'rollthecloudinc/rtc', 1, toTimeStamp(NOW()));INSERT INTO "ClassifiedsDev".resources2 (user,type,resource,asset,op,created) VALUES ('44e8b438-a061-70ca-faa7-3d3e93c015cb',0,0,'rollthecloudinc/hedge-objects', 1, toTimeStamp(NOW()));NOTE: resources2 is the proper table not resources.
Metadata: map[string]interface{}{
"user": payload.User,
"type": payload.Type,
"resource": payload.Resource,
"asset": payload.Asset,
"op": payload.Operation,
},