fix: change rights
This commit is contained in:
parent
392e0aaaa3
commit
e7b7f38991
@ -444,11 +444,13 @@ class SessionPropertyRightOperator(bpy.types.Operator):
|
|||||||
|
|
||||||
if session:
|
if session:
|
||||||
if runtime_settings.clients == RP_COMMON:
|
if runtime_settings.clients == RP_COMMON:
|
||||||
session.unlock(self.key,
|
porcelain.unlock(session.repository,
|
||||||
ignore_warnings=True,
|
self.key,
|
||||||
affect_dependencies=self.recursive)
|
ignore_warnings=True,
|
||||||
|
affect_dependencies=self.recursive)
|
||||||
else:
|
else:
|
||||||
session.lock(self.key,
|
porcelain.lock(session.repository,
|
||||||
|
self.key,
|
||||||
runtime_settings.clients,
|
runtime_settings.clients,
|
||||||
ignore_warnings=True,
|
ignore_warnings=True,
|
||||||
affect_dependencies=self.recursive)
|
affect_dependencies=self.recursive)
|
||||||
|
Loading…
Reference in New Issue
Block a user