adding Context

- converting messages and methods into one context per event
This commit is contained in:
2026-02-24 18:45:00 -05:00
parent 5297a480b8
commit 01dd3633ef
5 changed files with 134 additions and 128 deletions

View File

@@ -34,9 +34,9 @@ func WithPermissions(perms ...Permission) Option {
return func(b *bolt) {
var fullPerms dg.Intent
for _, p := range perms {
if p == AdminPermissions {
b.admin = true
}
// if p == AdminPermissions {
// b.admin = true
// }
fullPerms |= dg.Intent(p)
}