Skip to content

Fixes related to apps driver (replacement for es:apps)#2308

Merged
KernelDeimos merged 2 commits intomainfrom
eric/261K1_fixes-for-apps
Jan 20, 2026
Merged

Fixes related to apps driver (replacement for es:apps)#2308
KernelDeimos merged 2 commits intomainfrom
eric/261K1_fixes-for-apps

Conversation

@KernelDeimos
Copy link
Copy Markdown
Contributor

These fixes were going to go in the branch for #2219 but it became clear that these are issues affecting main currently even without that change. The biggest issue is a bug affecting revokePermission - it doesn't work right now.

The permission implicator for protected apps was written before changes
to the permission system that affect the conditions under which a user
is allowed to grant and revoke permissions; specifically this is the
`manage:` set of permissions, which now needs to be granted to the owner
of a protected app.

Additionally, the "level" component of the permission is ignored because
the owner of a protected all is implied to have all the permissions
pertaining to that protected app.
The "flat" implementation of permissions was broken because
revokePermission tried to delete entries by calling `.set` with an
option called "delete". I'm not sure if this has ever existed on the
puter-kvstore interface, so it's weird that it was called like that.
@KernelDeimos KernelDeimos merged commit a85d2b7 into main Jan 20, 2026
4 checks passed
@jelveh jelveh deleted the eric/261K1_fixes-for-apps branch May 1, 2026 20:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant