Access Control Backends - #491
Conversation
39559ca to
9bea54e
Compare
9bea54e to
6e7d531
Compare
|
@OmarIthawi For review criteria, you request downloading and running tests and trying out the edx-configs settings. Which environment should we use for testing? the new cloud devstack? And how do you suggest incorporating the new edx-configs changes into cloud devstack if that is what we should use for review? |
Great question @johnbaldwin. Running the tests is no longer a concern because it's being ran on TravisCI as of #479 . Regarding testing this locally, I didn't use the new devstack (Sultan) because the local devstack on Linux works well, so I might not be able to provide an accurate idea of how the plugins should be installed. So, perhaps we should just go with a detailed on-GitHub review and then merge and test on staging. What do you think? |
johnbaldwin
left a comment
There was a problem hiding this comment.
@OmarIthawi Overall loos great! I haven't done a deep review, but I don't see tests for AccessControlBackends methods backends and query. Am I missing something?
Awesome work!
df9baae to
5fca6ac
Compare
|
Thanks @johnbaldwin
I think you missed the second tests file. I've now changed the names so it's less confusing:
|
439889c to
1376e87
Compare
|
@OmarIthawi Was the lms/lib test missing? I now see it. Don't recall seeing it before. Anyway, thanks! Only thing I saw right now looks like a typo Otherwise, I don't see any reason not to merge this in and start working with it / proving it Thanks! |
1376e87 to
91913fc
Compare
|
Thanks @johnbaldwin!
It was there 🤷♂️
Good catch. I've corrected it.
Will do! Thanks! cc: @melvinsoft |
This is the base access control plugin system. Although it's intended to be used with the Course Access Group app it can be used for other purposes as well.
TODO
Background
Please do read the full proposal at the edX Discuss. The full design and discussion can be found there.
How to Review?
lms.env.jsonto match what's in https://github.com/appsembler/edx-configs/pull/723devstack/srcdirectory$ pip install -e /edx/src/course-access-groups$ cd devstack; make lms-restartHow to do manual testing on devstack?
Red.yourlocaldomainmicrositecourse-v1:Red+Red+Red2020@example.comdomain@example.comuserhttp://red.yourlocaldomain/coursespageWhy?
The end goal is to a Course Access Groups backend. This also makes it possible to implement more interesting stuff like soft course deletion.