mirror of
https://github.com/ynput/ayon-core.git
synced 2025-12-25 05:14:40 +01:00
SyncServer - add namespace for gdrive
Namespace points Local Settings where to overwrite value. Namespace values should be unique paths, placeholders could be used.
This commit is contained in:
parent
97c2a47024
commit
bb8452f44e
1 changed files with 6 additions and 4 deletions
|
|
@ -107,10 +107,12 @@ class GDriveHandler(AbstractProvider):
|
|||
"""
|
||||
editable = {
|
||||
# credentials could be override on Project or User level
|
||||
'credentials_url': {'scope': [EditableScopes.PROJECT,
|
||||
EditableScopes.LOCAL],
|
||||
'label': "Credentials url",
|
||||
'type': 'text'},
|
||||
'credentials_url': {
|
||||
'scope': [EditableScopes.PROJECT,
|
||||
EditableScopes.LOCAL],
|
||||
'label': "Credentials url",
|
||||
'type': 'text',
|
||||
'namespace': '{project_setting}/global/sync_server/sites'},
|
||||
# roots could be override only on Project leve, User cannot
|
||||
'root': {'scope': [EditableScopes.PROJECT],
|
||||
'label': "Roots",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue