Actions
Bug #16313
closed"My Papers" admin nav should be removed for users without any papers
Status:
Resolved
Priority name:
Normal
Assignee:
Category name:
Social Paper
Target version:
Start date:
2022-06-28
Due date:
% Done:
0%
Estimated time:
Deployment actions:
Description
Reported in https://redmine.gc.cuny.edu/issues/10580#note-13 by Sara.
Fix coming shortly.
Related issues
Updated by Raymond Hoh over 2 years ago
- Related to Feature #12702: Disable the creation of new papers added
Updated by Raymond Hoh over 2 years ago
- Status changed from Assigned to Staged for Production Release
In #12702, the "Papers" nav was removed from a user's profile if the user did not author or follow any papers. However, this code also needed to extend to the admin nav menu.
I've addressed this by caching the papers lookup to usermeta and referencing this value to determine whether to show the "My Papers" admin nav or not. I've also removed the "My Papers" admin nav from sub-sites in the cac-bp-admin-bar-mods
plugin. See https://github.com/cuny-academic-commons/cac/commit/8e1157e4167f72b97fdb20f54f167e74c116b4f2.
This will be deployed in tomorrow's maintenance release.
Updated by Boone Gorges over 2 years ago
- Status changed from Staged for Production Release to Resolved
Actions