mirror of
https://github.com/wekan/wekan.git
synced 2026-11-24 09:59:47 -05:00
Reuse board permissions, card estimates and chart exports for Product Backlog, Sprints, Sprint Report and Velocity views. Add revision-checked sprint lifecycle, recoverable rollover, release/event creation and independently hidden metadata controls. Explicitly label assigned-only reports as partial. Verified 12 focused Node checks, a real Meteor/Mongo lifecycle regression and three Chromium scenarios including settings visibility, denial paths and actual Excel/PDF files. History integration, full transfer mappings and further report/editor work remain tracked in the Scrum design. Thanks to xet7 !
14 lines
519 B
JavaScript
14 lines
519 B
JavaScript
import { Meteor } from 'meteor/meteor';
|
|
import { Mongo } from 'meteor/mongo';
|
|
|
|
// Server methods own validation, authorization, revisions and lifecycle snapshots.
|
|
const ScrumReleases = new Mongo.Collection('scrumReleases');
|
|
if (Meteor.isServer) {
|
|
const { ensureIndex } = require('/server/lib/mongoStartup');
|
|
ScrumReleases.deny({ insert: () => true, update: () => true, remove: () => true });
|
|
Meteor.startup(async () => {
|
|
await ensureIndex(ScrumReleases, { boardId: 1 });
|
|
});
|
|
}
|
|
export default ScrumReleases;
|