The “New Post” button disappeared from Aquent’s staging site. It was caused somehow by messing with Studio “Advanced Settings” relating to the discussion forum.
The symptom of the problem was that all user permissions for a particular course were nuked. Verify by, on the server, running:
edxapp@staging–gymnasium:~/edx-platform$ python manage.py lms –settings=aws_appsembler show_permissions tjk
2015-07-24 12:41:40,825 INFO 5949 [dd.dogapi] dog_stats_api.py:66 – Initializing dog api to use statsd: localhost, 8125
(‘tjk’,)
tjk has 4 roles:
Student for course-v1:appsembler+app101+now
Student for course-v1:Gymnasium+TEST0001+2015
Student for course-v1:AquentGymnasium+GYM105+2015_Q4
Student for edX/DemoX/Demo_Course
Student for course-v1:appsembler+app101+now has permissions:
[<Permission: vote>, <Permission: update_thread>, <Permission: follow_thread>, <Permission: unfollow_thread>, <Permission: update_comment>, <Permission: create_sub_comment>, <Permission: unvote>,
<Permission: create_thread>, <Permission: follow_commentable>, <Permission: unfollow_commentable>, <Permission: create_comment>]
Student for course-v1:Gymnasium+TEST0001+2015 has permissions:
[<Permission: vote>, <Permission: update_thread>, <Permission: follow_thread>, <Permission: unfollow_thread>, <Permission: update_comment>, <Permission: create_sub_comment>, <Permission: unvote>,
<Permission: create_thread>, <Permission: follow_commentable>, <Permission: unfollow_commentable>, <Permission: create_comment>]
Student for course-v1:AquentGymnasium+GYM105+2015_Q4 has permissions:
[]
Student for edX/DemoX/Demo_Course has permissions:
[<Permission: vote>, <Permission: update_thread>, <Permission: follow_thread>, <Permission: unfollow_thread>, <Permission: update_comment>, <Permission: create_sub_comment>, <Permission: unvote>,
<Permission: create_thread>, <Permission: follow_commentable>, <Permission: unfollow_commentable>, <Permission: create_comment>]
Permissions for the course were fixed with:
edxapp@staging–gymnasium:~/edx-platform$ python manage.py lms –settings=aws_appsembler seed_permissions_roles course-v1:AquentGymnasium+GYM105+2015_Q4