mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-08 10:22:46 +00:00
File shared link is viewd by people who generated.
This commit is contained in:
@@ -14,7 +14,7 @@ class FileShare(models.Model):
|
||||
"""
|
||||
Model used for file share link.
|
||||
"""
|
||||
username = models.EmailField(max_length=255)
|
||||
username = models.EmailField(max_length=255, db_index=True)
|
||||
repo_id = models.CharField(max_length=36, db_index=True)
|
||||
path = models.TextField()
|
||||
token = models.CharField(max_length=10, unique=True)
|
||||
|
Reference in New Issue
Block a user