mirror of
https://github.com/documize/community.git
synced 2025-07-19 21:29:42 +02:00
All new space permission managament
Using ember-toggle add-on.
This commit is contained in:
parent
13deb55cbb
commit
d5be8ec843
11 changed files with 231 additions and 152 deletions
|
@ -41,7 +41,7 @@ export default Component.extend(TooltipMixin, {
|
|||
onSavePage(page, meta) {
|
||||
let constants = this.get('constants');
|
||||
|
||||
if (this.get('document.protection') === constants.ProtectionType.Review) {
|
||||
if (this.get('document.protection') === constants.ProtectionType.Review) {
|
||||
if (this.get('page.status') === constants.ChangeState.Published) {
|
||||
page.set('relativeId', this.get('page.id'));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue