Skip to content

Commit 4d51cf8

Browse files
authored
revert: feat: added bulk delete user posts feature for privileged users (#818)
This reverts commit 909d133. See openedx/edx-platform#37402 for details We leave the original PR's changes to Confirmation.jsx in place because they are OK and are now tangled in with recent changes and more difficult to revert.
1 parent df53c7c commit 4d51cf8

17 files changed

+23
-674
lines changed

src/data/constants.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,6 @@ export const ContentActions = {
5858
CHANGE_TOPIC: 'topic_id',
5959
CHANGE_TYPE: 'type',
6060
VOTE: 'voted',
61-
DELETE_COURSE_POSTS: 'delete-course-posts',
62-
DELETE_ORG_POSTS: 'delete-org-posts',
6361
};
6462

6563
/**

src/discussions/data/selectors.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ export const selectAnonymousPostingConfig = state => ({
1111

1212
export const selectUserHasModerationPrivileges = state => state.config.hasModerationPrivileges;
1313

14-
export const selectUserHasBulkDeletePrivileges = state => state.config.hasBulkDeletePrivileges;
15-
1614
export const selectUserIsStaff = state => state.config.isUserAdmin;
1715

1816
export const selectUserIsGroupTa = state => state.config.isGroupTa;

src/discussions/data/slices.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ const configSlice = createSlice({
1111
userRoles: [],
1212
groupAtSubsection: false,
1313
hasModerationPrivileges: false,
14-
hasBulkDeletePrivileges: false,
1514
isGroupTa: false,
1615
isCourseAdmin: false,
1716
isCourseStaff: false,

src/discussions/learners/LearnerActionsDropdown.jsx

Lines changed: 0 additions & 107 deletions
This file was deleted.

src/discussions/learners/LearnerActionsDropdown.test.jsx

Lines changed: 0 additions & 153 deletions
This file was deleted.

0 commit comments

Comments
 (0)