mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 15:30:13 +01:00
parent
bf46a21405
commit
e504ac2894
2 changed files with 15 additions and 0 deletions
|
|
@ -101,6 +101,15 @@ if (isSandstorm && Meteor.isServer) {
|
|||
|
||||
updateUserPermissions(doc._id, doc.services.sandstorm.permissions);
|
||||
});
|
||||
|
||||
// LibreBoard v0.8 didn’t implement the Sandstorm sharing model and instead
|
||||
// kept the visibility setting (“public” or “private”) in the UI as does the
|
||||
// main Meteor application. We need to enforce “public” visibility has the
|
||||
// sharing is now handled by Sandstorm.
|
||||
// See https://github.com/wekan/wekan/issues/346
|
||||
Migrations.add('enforce-public-visibility-for-sandstorm', () => {
|
||||
Boards.update('sandstorm', { $set: { permission: 'public' }});
|
||||
});
|
||||
}
|
||||
|
||||
if (isSandstorm && Meteor.isClient) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue