You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+89-17Lines changed: 89 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,12 +5,14 @@ A comprehensive file and document management system for Filament applications, f
5
5
## Features
6
6
7
7
-**📁 File & Folder Management** - Upload files, create folders, and organize content
8
-
-**🔗 External Links** - Add and manage external links with descriptions
8
+
-**🔗 External Links** - Add and manage external links with descriptions (including video embeds)
9
9
-**👥 Advanced Permissions** - Google Drive-style ownership with Creator, Owner, Editor, and Viewer roles
10
10
-**🔄 Automatic Inheritance** - Permissions automatically inherit from parent folders
11
-
-**🔍 Multiple Views** - Public Library, My Documents, Shared with Me, Created by Me, and Search All
11
+
-**🔍 Multiple Views** - Public Library, My Documents, Shared with Me, Created by Me, Favorites, and Search All
12
+
-**🏷️ Tags & Favorites** - Organize items with tags and mark favorites for quick access
12
13
-**⚙️ Configurable Admin Access** - Flexible admin role configuration
13
14
-**🎨 Filament Integration** - Native Filament UI components and navigation
15
+
-**🏢 Multi-Tenancy Support** - Optional team/organization scoping for all library content
14
16
15
17
## Installation
16
18
@@ -35,6 +37,9 @@ class User extends Authenticatable
35
37
}
36
38
```
37
39
40
+
> [!WARNING]
41
+
> If you are using multi-tenancy please see the "Multi-Tenancy Support" instructions below **before** publishing and running migrations.
42
+
38
43
You can publish and run the migrations with:
39
44
40
45
```bash
@@ -86,16 +91,17 @@ public function boot()
86
91
87
92
### 3. Navigation
88
93
89
-
The plugin automatically adds navigation items:
94
+
The plugin automatically adds navigation items under "Resource Library":
90
95
-**Library** - Main library view
91
96
-**Search All** - Search across all accessible content
92
97
-**My Documents** - Personal documents and folders
93
98
-**Shared with Me** - Items shared by other users
94
99
-**Created by Me** - Items you created
100
+
-**Favorites** - Items you've marked as favorites
95
101
96
102
## Permissions System
97
103
98
-
The plugin features a sophisticated permissions system inspired by Google Drive. See [Permissions Documentation](docs/permissions.md) for complete details.
104
+
The plugin features a sophisticated permissions system inspired by Google Drive.
99
105
100
106
### Quick Overview
101
107
@@ -110,29 +116,95 @@ The plugin features a sophisticated permissions system inspired by Google Drive.
-**Admin Override** - Library admins can access all content
112
118
119
+
## Multi-Tenancy Support
120
+
121
+
Filament Library includes built-in support for multi-tenancy, allowing you to scope library items, permissions, and tags to specific tenants (e.g., teams, organizations, workspaces).
122
+
123
+
### ⚠️ Important: Enable Tenancy Before Migrations
124
+
125
+
**You MUST configure and enable tenancy in the config file BEFORE running the migrations.** The migrations check the tenancy configuration to determine whether to add tenant columns to the database tables. If you enable tenancy after running migrations, you'll need to manually add the tenant columns to your database.
126
+
127
+
### Quick Setup
128
+
129
+
1.**Configure your Filament panel with tenancy** (see [Filament Tenancy docs](https://filamentphp.com/docs/4.x/users/tenancy))
0 commit comments