Remove 'Create New Library' for non staff in studio

164 views
Skip to first unread message

Owen Brasier

unread,
Sep 23, 2015, 9:42:18 PM9/23/15
to Open edX operations
Is there a setting similar to 'DISABLE_COURSE_CREATION': True

That I can add to my CMS settings or cms/envs/common.py, to disable the library creation for non staff in cypress? I can't find it in the docs.

Thanks!

Xavier Antoviaque

unread,
Sep 24, 2015, 8:53:03 AM9/24/15
to opene...@googlegroups.com
Hi Owen,
 
Currently there isn't an option that allows to disable library creation for non-staff users. However, if you want to add one, it should be relatively straightforward - see:
 
 
If you send a pull request to add this change, don't hesitate to tag me on this, happy to help with the review.
 
Also, can I ask what is your use case? If you only allow staff to create courses, it should be harmless to let other users create libraries, since they require a course to be used?
 
--
Xavier
--
You received this message because you are subscribed to the Google Groups "Open edX operations" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openedx-ops...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
 

Owen Brasier

unread,
Sep 24, 2015, 7:57:19 PM9/24/15
to Open edX operations
Ah, good to know.... Actually, that doesn't look too hard, I'll add it on my long list of things to do.

For now I'll just make my library and remove the button :P

Thanks for your help!

Owen

om...@noderabbit.com

unread,
Nov 4, 2017, 6:52:10 PM11/4/17
to Open edX operations
Owen, I stumbled upon your issue and made a pull request:

Reply all
Reply to author
Forward
0 new messages