Commit Graph

305 Commits

Author SHA1 Message Date
Jon
59e34cae4d test(access): Add missing test cases to Team Users Model
ref: #15 #248 #348
2024-11-28 02:20:44 +09:30
Jon
4b873a4e44 test(access): Team Users API v2 field checks
ref: #15 #248 #348
2024-11-28 02:20:44 +09:30
Jon
80d307b2a5 test(access): Team User API ViewSet permission checks
ref: #15 #248 #348
2024-11-28 02:20:44 +09:30
Jon
9beb9a9d2c feat(access): Add Team Users API endpoint
ref: #248 #348
2024-11-28 02:20:44 +09:30
Jon
fb7fda7ea2 test(access): Team API v2 field checks
ref: #15 #248 #348
2024-11-28 02:20:44 +09:30
Jon
af3a84f0dc test(access): Organization API v2 field checks
ref: #15 #248 #348
2024-11-28 02:20:44 +09:30
Jon
200909fb82 test(access): Team API ViewSet permission checks
ref: #15 #248 #348
2024-11-28 02:20:44 +09:30
Jon
1d198dd2df test(access): Organization API ViewSet permission checks
ref: #15 #248 #348
2024-11-28 02:20:43 +09:30
Jon
c34dd9f2a4 fix(access): ensure org id is an integer during permission checks
ref: #348
2024-11-28 02:20:43 +09:30
Jon
8da3a04730 feat(access): Add Organization API endpoint
ref: #248 #348
2024-11-28 02:20:43 +09:30
Jon
c6c8bfd045 feat(base): Add Team API endpoint
ref: #248 #348
2024-11-28 02:20:43 +09:30
Jon
a05cf021c1 test(access): Team custom tests to ensure that during model field creation, attribute verbose_name is defined and not empty
as team extends group, filtering of group fields is required so they are not checked when testing

ref:  #248 #345 #346
2024-11-28 02:20:43 +09:30
Jon
a1625517d1 fix(access): if permission_required attribute doesn't exist during permission check, return empty list
ref: #346
2024-11-28 02:20:42 +09:30
Jon
32d5008f63 fix: Ensure all Model fields are created with attributes help_text and verbose_name
ref:  #248 #346
2024-11-28 02:20:42 +09:30
Jon
3080b1c1b7 fix(access): Add missing attribute Meta.ordering Config Groups model
ref:  #248 #345 #346
2024-11-28 02:19:21 +09:30
Jon
ebf51da951 feat(access): Add attribute table_fields to Team model
ref:  #248 #345 #346
2024-11-28 02:19:21 +09:30
Jon
af27b55ad7 feat(access): Add attribute page_layout to Team model
ref:  #248 #345 #346
2024-11-28 02:19:21 +09:30
Jon
617bbcc724 fix(access): Add missing meta field verbose_name to Team model
ref:  #248 #345 #346
2024-11-28 02:19:21 +09:30
Jon
374c18d997 test(access): Add index viewset checks
ref:  #345 #346
2024-11-28 02:18:25 +09:30
Jon
73d56692d1 feat(access): Add v2 endpoint Access
ref:  #345 #346
2024-11-28 02:18:25 +09:30
Jon
20b77b4b1e feat(access): Add table_fields and page_layout to Organization
ref:  #345 #346
2024-11-28 02:18:25 +09:30
Jon
61f34876ed fix(core): Ensure user cant view tickets in orgs they are not part of
ref: #399
2024-11-28 01:40:24 +09:30
Jon
ed0e57c8a1 test(access): Add dummy functional test for CI to complete
ref: #382
2024-11-07 18:41:27 +09:30
Jon
0b4fc25462 fix(access): testing of param causing gunicorn to fail
ref: #363 #371
2024-10-30 02:39:42 +09:30
Jon
f3b249d18f test: Ensure tenancy models save model history
ref: #266 #250
2024-09-09 16:11:40 +09:30
Jon
5793295e1a feat(core): pass request to ticket comment form
ref: #250 #96 #93 #95 #90 #257
2024-09-02 13:36:58 +09:30
Jon
7f138d4b68 feat(core): Ensure for tenancy objects that the organization is set
ref: #252
2024-08-31 13:19:49 +09:30
Jon
b709839c38 refactor(access): Add definable parameters to organization mixin
ref: #252
2024-08-31 12:25:09 +09:30
Jon
31bc1e4e76 fix(access): correct permission check to cater for is_global=None
ref: #250 #252 #96 #93 #95 #90 #115
2024-08-31 11:25:08 +09:30
Jon
5c4a802017 feat(core): Add field level permission and validation checks
ref: #250 #252 #96 #93 #95 #90 #11
2024-08-28 17:44:41 +09:30
Jon
e59a08b351 refactor(access): cache user_organizations on lookup
ref: #252
2024-08-28 17:39:16 +09:30
Jon
2a7857b60d refactor(access): cache object_organization on lookup
ref: #252
2024-08-28 17:38:29 +09:30
Jon
09afd7f165 feat(core): Add permission checking to Tickets form
ref: #250 #252 #96 #93 #95 #90 #115
2024-08-27 17:18:52 +09:30
Jon
e63bec83e8 feat(access): add dynamic permissions to Tenancy Permissions
ref: #252 #250
2024-08-27 17:09:57 +09:30
Jon
5d74ddfee5 fix(access): Don't query for is_global=None within TenancyManager
ref: #252
2024-08-27 17:05:50 +09:30
Jon
e472022c91 feat(development): Add function to filter permissions to those used by centurion
ref: #244 #164
2024-08-23 17:45:44 +09:30
Jon
4b3ea06f70 feat(assistance): Categorised Knowledge base articles
!43 #10
2024-08-23 17:45:43 +09:30
Jon
f298ce94bf test(access): test field model_notes
closes #223
2024-08-12 15:15:28 +09:30
Jon
84d21f4af8 test(teams): api field checks
. #162 #218
2024-08-10 19:58:04 +09:30
Jon
262e431834 test(organization): api field checks
. #162
2024-08-10 19:39:28 +09:30
Jon
8d59462561 fix(api): Ensure that organizations can't be created via the API
!44 fixes #155
2024-07-29 17:02:37 +09:30
Jon
de53948cea test: confirm that the tenancymanager is called
!43
2024-07-21 13:27:45 +09:30
Jon
823ebc0eb5 fix(access): Team model class inheritance order corrected
!42
2024-07-21 13:27:36 +09:30
Jon
5a201ef548 refactor!: Squash database migrations
BREAKING CHANGE: squashed DB migrations in preparation for v1.0 release.

!40 !35 #74
2024-07-16 13:31:18 +09:30
Jon
d8e89bee10 test: tenancy objects
!42 #15 closes #124
2024-07-15 23:22:15 +09:30
Jon
4ee62aa399 test: refactor to single abstract model for inclusion.
!42 #15
2024-07-15 23:01:49 +09:30
Jon
f1201e8933 feat(access): Add multi-tennant manager
manager filters results to that of data from the organizations the users is part of.

!42 #124
2024-07-15 16:17:08 +09:30
Jon
fbe7e63cc9 fix(access): Correct team form fields
fixes missing name for team

!42 #74
2024-07-14 16:57:25 +09:30
Jon
367c4bebb6 refactor: adjust views missing add/change form to now use forms
!35 #15 #46 #74 #120 #121 fixes #118
2024-07-13 17:32:45 +09:30
Jon
f29ec63f46 test: Add Test case abstract classes to models
!35 #46 #15
2024-07-13 16:01:12 +09:30