|
|
@@ -678,11 +678,6 @@ module.exports = (crowi) => {
|
|
|
const { pageId } = req.params;
|
|
|
const { grant, userRelatedGrantedGroups } = req.body;
|
|
|
|
|
|
- // TODO: remove in https://redmine.weseek.co.jp/issues/136137
|
|
|
- if (userRelatedGrantedGroups != null && userRelatedGrantedGroups.length > 1) {
|
|
|
- return res.apiv3Err('Cannot grant multiple groups to page at the moment');
|
|
|
- }
|
|
|
-
|
|
|
const Page = crowi.model('Page');
|
|
|
|
|
|
const page = await Page.findByIdAndViewer(pageId, req.user, null, false);
|