Skip to content

Model Permissions View Test Cases


Tests for checking model view permissions

Attributes

app_namespace: str = None

url_name_view: str

url_view_kwargs: dict = None

Functions

test_model_view_user_anon_denied()

Check correct permission for view

Attempt to view as anon user

test_model_view_no_permission_denied()

Check correct permission for view

Attempt to view with user missing permission

test_model_view_different_organizaiton_denied()

Check correct permission for view

Attempt to view with user from different organization

test_model_view_has_permission()

Check correct permission for view

Attempt to view as user with view permission

About:

This page forms part of our Project Centurion ERP.

Page Metadata
Version: ToDo: place files short git commit here
Date Created: 2024-06-15
Date Edited: 2024-07-09

Contribution:

Would You like to contribute to our Centurion ERP project? You can assist in the following ways:

 

ToDo: Add the page list of contributors