Closed brandonfranzke closed 1 year ago
I had the exact same problem, plus I was unable to see the people inside a course, kept getting an error message. Changing the People Page Upgrade option in Settings > Feature Options solved it for me.
Fantastic!! Solved.
@brandonfranzke Was this feature flag turned on for you or it was off?
It was turned ON. I turned off, flushed redis cache / restarted container and all UI elements show. (not sure if latter was required, but non-destructive).
Sounds good. Thanks for the info!
Summary:
Identical issue: https://github.com/instructure/canvas-lms/issues/2128 (see figure for my exact issue):
Posted a follow-up since OP marked resolved but no response.
Additional notes:
I attempted a new postgres DB with a "fresh" environment (rake db:initial_setup). I create a dummy course and check with admin user and can see the "+People". I flushall redis, update database.yml, and restart the server and the "+People" button disappears. I assume it is related to some permission check that is failing. I dont know if its helps but during debug I log every call to "can_do" helper. For the "fresh" install with admin viewing Course > People is see:
after swapping db, flushing cache, and restarting I see only:
So it seems that there are some conditionals to get to :manage_students check that are not happening. This would explain the missing HTML elements, but I have not been able to track down on server side.
Aside: Any chance this is related to "granular" permissions feature? The break was sudden but unnoticed for several weeks (presumed) and those were the last option I recall adjusting.