First Cut of Enhanced Permissions #543
No reviewers
Labels
No Label
applications
BLOCKED
bug
design
duplicate
enhancement
fixed?
funding-needed
help wanted
infrastructure
invalid
payments
qubes
question
ready-for-implementation
refactor
spam
tapir-server
testing
tor
wontfix
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: cwtch.im/cwtch#543
Loading…
Reference in New Issue
No description provided.
Delete Branch "enhanced-permissions"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
91b5097ee7
toa88e765686
a88e765686
to665c840a41
665c840a41
to53109ba84e
53109ba84e
tof25f97aca2
f25f97aca2
to8702f5b4d4
8702f5b4d4
to8e72534081
8e72534081
to1c7003fb96
Drone Build Status: success
https://build.openprivacy.ca/cwtch.im/cwtch/304
WIP: First Cut of Enhanced Permissionsto First Cut of Enhanced Permissionslooks pretty good, two minor questions
@ -312,2 +312,4 @@
for _, conversation := range conversations {
if tor.IsValidHostname(conversation.Handle) {
Add comment calling this section upgrading attributes v0 to v1
@ -123,0 +123,4 @@
// API-level management of conversation access control
UpdateConversationAccessControlList(id int, acl model.AccessControlList) error
EnhancedGetConversationAccessControlList(conversation int) (string, error)
How come UpdateConversationAccessControlList takes an model.AccessControlList but EnhancedGetConversationAccessControlList isn't called just GetConversationAccessControlList and how come it returns only a string of json?
Enhanced
has special meaning in autobindings that aligns to how memory is managed. It returns JSON because the UI will mediate in json.UpdateConversationAccessControlList is a go interface to be used in cwtch extensions.
ah ok right now i see get/set for acl via json but only set for the model.acl, is there a get for that in the api for go/cwtch code?
approved pendiong one comment and one get acl mode function in the interface