- {/* Section Header */}
+ {/* Your Permission - simplified display */}
+
- 🔐
- Board Permission
+
+ {PERMISSION_CONFIG[currentPermission].icon}
+ Your Permission
+
{PERMISSION_CONFIG[currentPermission].label}
- {/* Permission levels - indented to show hierarchy */}
-
-
- Access Levels
-
- {(['view', 'edit', 'admin'] as PermissionLevel[]).map((level) => {
- const config = PERMISSION_CONFIG[level]
- const isCurrent = currentPermission === level
- const canRequest = session.authed && !isCurrent && (
- (level === 'edit' && currentPermission === 'view') ||
- (level === 'admin' && currentPermission !== 'admin')
- )
-
- return (
-
-
- {config.icon}
- {config.label}
- {isCurrent && (
-
- Current
-
- )}
-
-
- {canRequest && (
-
- )}
-
- )
- })}
-
+ {/* Request higher permission button */}
+ {session.authed && currentPermission !== 'admin' && (
+
+ )}
{/* Request status message */}
{requestMessage && (
+ {/* Activity Log Accordion */}
+
+
+
+ {showActivitySection && (
+
+
+ Track shape creations, deletions, and updates on this board.
+
+
+
+ )}
+
+
+
+
{/* Show Tutorial Button */}