Check canEditDescription with PermissionBackend
Change-Id: I28a0727ecde5b418e9996bb78858a1b18e96b8a4
This commit is contained in:

committed by
David Pursehouse

parent
46d61b3f2c
commit
df11d43964
@@ -545,7 +545,7 @@ class RevisionApiImpl implements RevisionApi {
|
||||
in.description = description;
|
||||
try {
|
||||
putDescription.apply(revision, in);
|
||||
} catch (UpdateException e) {
|
||||
} catch (UpdateException | PermissionBackendException e) {
|
||||
throw new RestApiException("Cannot set description", e);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user