Portal-Navigation: site is not removed from navigation after user has been removed from the site

Description

If a user is removed from a site, the site should disappear from the navigation menu. Currently, the site remains on the navigation, even after multiple refreshes. The site has disappeared from Worksite Setup and from View All Sites.

Attachments

2
  • 12 Feb 2023, 01:30 PM
  • 12 Feb 2023, 01:30 PM

Activity

Show:

Earle Nietzel July 14, 2023 at 9:56 PM

Conversion Scripts

CREATE TABLE PINNED_SITES (ID BIGINT AUTO_INCREMENT NOT NULL, POSITION INT NOT NULL, SITE_ID VARCHAR(99) NOT NULL, USER_ID VARCHAR(99) NOT NULL, CONSTRAINT PK_PINNED_SITES PRIMARY KEY (ID)); ALTER TABLE PINNED_SITES ADD CONSTRAINT UniquePinning UNIQUE (USER_ID, SITE_ID); CREATE INDEX pinned_sites_site_idx ON PINNED_SITES(SITE_ID); CREATE INDEX pinned_sites_user_idx ON PINNED_SITES(USER_ID);

Ramana Reddy Battula March 13, 2023 at 5:53 PM

Verified on Sakai 23: https://qa23-mysql8.nightly.sakaiproject.org/ , build info: d02e808f

Note: The site is not available to the removed user either in Worksite setup or in view all sites option.

Andrea Schmidt February 28, 2023 at 11:33 PM

Checked this again on 24x: https://trunk-maria.nightly.sakaiproject.org/, build: 9397b507
and the site was removed from the navigation. Also tested https://sakaiproject.atlassian.net/browse/SAK-48528 and am no longer seeing the error.

Matthew Jones February 25, 2023 at 7:45 PM
Edited

Possibly causing a regression on https://sakaiproject.atlassian.net/browse/SAK-48528 , don’t merge until that’s reviewed.

Andrea Schmidt February 20, 2023 at 11:58 AM

Verified on 24x: https://trunk-maria.nightly.sakaiproject.org/, build: 9a50a18f

Fixed

Details

Priority

Affects versions

23 Status

QA Verification Pass

Components

Assignee

Reporter

Conversion Script Required

Yes

Environment

24x: https://trunk-maria.nightly.sakaiproject.org/, build: 202142f3 23x: https://qa23-maria.nightly.sakaiproject.org/, build: 323a7a99

Created February 12, 2023 at 1:27 PM
Updated July 14, 2023 at 9:56 PM
Resolved February 17, 2023 at 12:03 PM

Flag notifications