add: layouts api

This commit is contained in:
trisua 2025-07-02 20:14:04 -04:00
parent c83d0a9fc0
commit b493b2ade8
10 changed files with 353 additions and 22 deletions

View file

@ -68,8 +68,8 @@ pub enum AppScope {
UserReadJournals,
/// Read the user's notes.
UserReadNotes,
/// Read the user's links.
UserReadLinks,
/// Read the user's layouts.
UserReadLayouts,
/// Create posts as the user.
UserCreatePosts,
/// Create messages as the user.
@ -88,8 +88,8 @@ pub enum AppScope {
UserCreateJournals,
/// Create notes on behalf of the user.
UserCreateNotes,
/// Create links on behalf of the user.
UserCreateLinks,
/// Create layouts on behalf of the user.
UserCreateLayouts,
/// Delete posts owned by the user.
UserDeletePosts,
/// Delete messages owned by the user.
@ -124,8 +124,8 @@ pub enum AppScope {
UserManageJournals,
/// Manage the user's notes.
UserManageNotes,
/// Manage the user's links.
UserManageLinks,
/// Manage the user's layouts.
UserManageLayouts,
/// Edit posts created by the user.
UserEditPosts,
/// Edit drafts created by the user.