refactor: fix scene item removal
This commit is contained in:
parent
a059fafe12
commit
07358802f7
@ -576,11 +576,11 @@ class BlScene(ReplicatedDatablock):
|
||||
|
||||
diff_params = {
|
||||
'exclude_paths': exclude_path,
|
||||
# 'ignore_order': True,
|
||||
# 'report_repetition': True
|
||||
'ignore_order': True,
|
||||
'report_repetition': True
|
||||
}
|
||||
delta_params = {
|
||||
'mutate': True
|
||||
# 'mutate': True
|
||||
}
|
||||
|
||||
return Delta(
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit b3537f99a5a4006a7590d1f9b3f4859e3b9be95e
|
||||
Subproject commit a40741185955a8f8700f4ebeb14d4d83e3186718
|
@ -235,15 +235,14 @@ class DynamicRightSelectTimer(Timer):
|
||||
|
||||
# Fix deselection until right managment refactoring (with Roles concepts)
|
||||
if len(current_selection) == 0 :
|
||||
owned_keys = session.list(
|
||||
filter_owner=settings.username)
|
||||
owned_keys = session.list(filter_owner=settings.username)
|
||||
for key in owned_keys:
|
||||
node = session.repository.get_node(key)
|
||||
try:
|
||||
porcelain.unlock(session.repository,
|
||||
key,
|
||||
ignore_warnings=True,
|
||||
affect_dependencies=recursive)
|
||||
affect_dependencies=True)
|
||||
except NonAuthorizedOperationError:
|
||||
logging.warning(
|
||||
f"Not authorized to change {key} owner")
|
||||
|
Loading…
Reference in New Issue
Block a user