issues
search
openlearningtools
/
opencompetencies
A tool for organizing educational competencies.
MIT License
16
stars
3
forks
source link
Allow users to set elements public or private
#88
Closed
ehmatthes
closed
8 years ago
ehmatthes
commented
9 years ago
[x] All elements, including the organization, are considered private first.
[x] Toggling privacy
[x] Setting an element private cascades down the hierarchy.
[x] Setting an element public cascades up the hierarchy.
Implement on edit_sa_summary page? (check for cascading issues after processing form?)
[x] Write a separate test for this, because it's so critical.
[x] Filter for privacy
[x] In read-focused views
[x] Avoid confusion about 'public' referring to the political notion of a public school.
ehmatthes
commented
9 years ago
Added
public
attribute to Organization.
[x] On organizations page, list:
orgs that user owns
orgs users has edit permissions on
public orgs
[x] test these
ehmatthes
commented
9 years ago
[x] Implement an organization_admin page.
[x] Based on OrganizationAdminForm(OrganizationForm)
[x] Allows editing of aliases
[x] Lists editors
Not modifying the editors quite yet, just listing them.
[x] Allows toggling of public attribute
[x] Setting private sets all elements in organization private
[x] Tests for all of this.
[x] Critical tests written
[x] Test that toggling org private works.
[x] Test that toggling org private cascades down to all elements.
[x] If test not written now, make a comment noting the specific test that needs to be written.
[x] Break this into two pages:
[x] organization_admin_edit; as currently coded, allows modifying the org.
[x] organization_admin_summary; just displays admin-related informatoin for org.
ehmatthes
commented
9 years ago
[x] Implement toggling of privacy on individual elements, on edit_summary page.
[x] for sa
[x] add checkbox on form for all elements; that way I can easily see if cascade is working properly.
[x] Write a test for ability to change sa to private, and that privacy cascades down.
[x] for sdas
[x] for cas
[x] for eus
[x] explain default cascading behavior
[x] privacy cascades down
[x] public cascades up
[x]
cascade public down option
Not doing this for now, reticketed as #93.
[x] write basic security tests for all of these
[x] test that privacy works, and cascades down.
[x] test that changing public does not affect visibility of a private org.
[x] list non-security tests to write
tests about changing from private to public.