User authorisation/authentication
Needed to restrict access to all or some functions, particularly advanced functions such as direct import of data or deleting data.
Comments (19)
-
reporter -
reporter Basic authentication system implemented. Refs
#16. Doesn't do anything useful yet.→ <<cset 94fb3f131562>>
-
reporter Authentication system now has login link in nav bar, very basic login page, users name displayed when logged in with logout link, ctfiltered template. Refs
#16.→ <<cset 906de14c22ca>>
-
reporter - changed status to open
-
reporter Base template now displays login or logout depending on is_authenticated, and links back to current page when authenticated including search strings. Propose to ditch the auth version of each page and incorporate in original instead. Refs
#16.→ <<cset 12d973bfe423>>
-
reporter Need to have four levels of authorisation:
- Not logged in - home page only
- View level - modality filtered pages and study details pages (radiographer view)
- Export level - as view, but allowed to export to spreadsheet and import pt size data (physics or researcher view)
- Admin level - as export, but allowed to delete data (physics administrator view)
-
reporter Removed test 'next' variable. Refs
#16→ <<cset 5b746985bee9>>
-
reporter Added export function to standard CT filter template with if user.is_authenticated. Removed auth versions of templates, urls and views. Limited functionality now for a single authorisation level - need to introduce groups. Refs
#16.→ <<cset 01d6fd58242c>>
-
reporter Added login_required decorators to filter views and detail views. View permission level essentially complete. Refs
#16.→ <<cset 38114ffc165f>>
-
reporter - changed component to Interface
-
reporter CT filter page functionality now depends on two variables admin.exportperms and admin.adminperms that get passed from the view. The setup of the variables is curretly a bit cluncky, but it does the job. Refs
#16.→ <<cset f72bc9f150a8>>
-
reporter Tidied up the exportperm and adminperm assignment. Refs
#16.→ <<cset f0486579ef9e>>
-
reporter Added permissions based export and delete column to fluoroscopy. Refs
#16. All three filter pages now operate in the same way.→ <<cset 12d3b7e29cea>>
-
reporter Smartened up the login page with bootstrap styling. Refs
#16.→ <<cset 83eb6d39b7f4>>
-
reporter Existance of user groups is now checked on loading the homepage. If any of them don't exist, they are created. Refs
#16.→ <<cset 26b062267365>>
-
reporter Added brief instructions for creating users to the quick install docs. Refs
#16.→ <<cset 1f058cd18029>>
-
reporter Docs refresh before completing feature branch refs
#16.→ <<cset a95fefbc5f90>>
-
reporter - changed status to resolved
Merge of feature branch for authentication. Fixes
#16.→ <<cset a98b2c28fa62>>
-
reporter Added documentation for deleting studies - fixes
#69. Added notes about logging in for other functions - refs#16and#71.→ <<cset 5840d9890fdb>>
- Log in to comment
Issue Refs
#18and#21are dependant on this.