mirror of
https://github.com/yusufipk/OpenFrame.git
synced 2026-09-11 17:46:06 +00:00
feat: Implement new project visibility types, add dedicated project settings and share pages, and enhance the dashboard with dynamic project data and visibility badges.
This commit is contained in:
@@ -104,9 +104,9 @@ model Project {
|
||||
}
|
||||
|
||||
enum ProjectVisibility {
|
||||
PRIVATE // Only owner and members can access
|
||||
LINK_ONLY // Anyone with link can view
|
||||
PUBLIC // Listed publicly
|
||||
PRIVATE // Only owner can access
|
||||
INVITE // Owner + specifically invited members
|
||||
PUBLIC // Anyone with the link can access
|
||||
}
|
||||
|
||||
model ProjectMember {
|
||||
|
||||
+1
-1
@@ -79,7 +79,7 @@ async function main() {
|
||||
name: 'Programming Tutorials',
|
||||
description: 'In-depth programming tutorials covering modern web development.',
|
||||
slug: 'programming-tutorials',
|
||||
visibility: ProjectVisibility.LINK_ONLY,
|
||||
visibility: ProjectVisibility.INVITE,
|
||||
ownerId: demoUser.id,
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user