Xu ly SSO
This commit is contained in:
@@ -34,3 +34,29 @@ class BaseStorageProvider(ABC):
|
||||
bytes: The raw file content.
|
||||
"""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def get_item_details(self, item_id: str) -> Dict:
|
||||
"""
|
||||
Get full item details including webUrl and downloadUrl.
|
||||
|
||||
Args:
|
||||
item_id (str): The item ID from fetch_changes.
|
||||
|
||||
Returns:
|
||||
Dict: Full item details with links.
|
||||
"""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def get_item_permissions(self, item_id: str) -> List[str]:
|
||||
"""
|
||||
Get permissions for an item. Returns list of user/group emails or IDs.
|
||||
|
||||
Args:
|
||||
item_id (str): The item ID from fetch_changes.
|
||||
|
||||
Returns:
|
||||
List[str]: List of user/group identifiers. ["*"] means everyone can access.
|
||||
"""
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user