Commit Graph

305 Commits

Author SHA1 Message Date
Jon
bc1600e07b fix(access): Team User permission organiztion is team org
ref: #442 #454
2024-12-25 19:04:19 +09:30
Jon
2c715d69fa test(access): When adding org, test case must use non-super user
ref: #442 #454
2024-12-25 19:02:04 +09:30
Jon
dcd9e91dd9 refactor(base): move model calling of clean to tenancy model class
ref: #426 #433
2024-12-21 17:58:13 +09:30
Jon
63d44ed6e8 feat(information_management): Ability to link Knowledge Base article to a Team
ref: #426 #427
2024-12-21 17:06:05 +09:30
Jon
18769635ff feat(information_management): Ability to link Knowledge Base article to an Organization
ref: #426 #427
2024-12-21 17:05:46 +09:30
Jon
c649dc7669 test(base): Ensure Models inherit from Tenancy and SaveHistory Classes
ref: #426
2024-12-20 13:22:43 +09:30
Jon
cc98966a76 feat(access): Add project_management permissions to teams avail permissions
ref: #421
2024-12-19 13:40:27 +09:30
Jon
c14ee4c4be feat(api): If global organization defined, filter from ALL organization fields
This field is not intended to be selectable

ref: #418 closes #406
2024-12-09 22:29:57 +09:30
Jon
41ffe5b3bc refactor(access): Settings must be an available permissions when setting team permissions
ref: #408 #417
2024-12-06 17:06:38 +09:30
Jon
ca2da06d2c chore: squash previous releases migrations
Every release that occurs is squash ALL migrations to limit the amount of migrations

ref: #408 #417
2024-12-06 16:33:13 +09:30
Jon
ebeea4f526 feat(access): Modify Admin User panel by removing perms and adding teams
ref: #408
2024-12-05 14:30:59 +09:30
Jon
c91bc6ee10 fix(access): Add missing table_fields attribute to team users model
ref: nofusscomputing/centurion_erp_ui#29
2024-12-05 07:23:42 +09:30
Jon
b54d710c50 test(access): API Metadata checks for kb
ref: #410 #412 #415
2024-12-04 23:16:07 +09:30
Jon
61f6996f5e test(access): API Metadata checks for organization
ref: #412 #415
2024-12-04 20:20:35 +09:30
Jon
85face7cc6 fix(access): Team permissions is not a required field
ref: #404 #415
2024-12-04 17:30:19 +09:30
Jon
38ba86b8b5 feat(access): filter permissions available
only show used permissions

ref: #415 closes #404
2024-12-04 17:30:01 +09:30
Jon
deb93378b0 test(access): API Metadata checks for Team User model
ref: #408 #410 #411 #412
2024-11-30 15:00:43 +09:30
Jon
1904c2e28c test(access): API Metadata checks for Team model
ref: #408 #410 #411 #412
2024-11-30 15:00:26 +09:30
Jon
7c9320a84b feat(access): add back and return_url urls to team user metadata
ref: #410 #411
2024-11-30 14:03:39 +09:30
Jon
c8b6a31cd4 feat(access): add back and return_url urls to team metadata
ref: #410 #411
2024-11-30 14:03:31 +09:30
Jon
22615e46ef fix(access): correct team users table to correct data key
ref: #411
2024-11-30 13:58:47 +09:30
Jon
4544c0768d test(access): Ensure items returned are from users orgs only for API v2 endpoints
ref: #248 #359 #397
2024-11-28 02:58:44 +09:30
Jon
ad54494df0 test: Add ViewSet Returned Serializer Checks to a majority of models
more to come

ref: #15 #248 #392 #393
2024-11-28 02:22:29 +09:30
Jon
aebd0f3580 refactor: ensure filed organization is required
ref: #248 #390 #366
2024-11-28 02:22:28 +09:30
Jon
5f7b6ef9eb refactor: update serializers to use model get_url function
ref: #248 #390 #366
2024-11-28 02:22:28 +09:30
Jon
7930af269d fix(access): correct team users get_url
ref: #248 #390 #366
2024-11-28 02:22:27 +09:30
Jon
c2751f9ae0 fix(access): correct team get_url requires kwargs
ref: #248 #390 #366
2024-11-28 02:22:27 +09:30
Jon
11fa10214c fix(access): correct team get_url
ref: #248 #390 #366
2024-11-28 02:22:27 +09:30
Jon
05f03efc64 refactor: Add function get_url to tenancy models
ref: #248 #366 #391 nofusscomputing/centurion_erp_ui#29
2024-11-28 02:22:27 +09:30
Jon
228e36d3cd fix(access): Ensure organization is a mandatory field
ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#23
2024-11-28 02:22:26 +09:30
Jon
46441aa667 feat(access): render team_name field as anchor
ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#23
2024-11-28 02:22:26 +09:30
Jon
f345dd366c feat(api): Add a Common Model serializer to be inherited by all model serializers
ref: #248 #385 #388 nofusscomputing/centurion_erp_ui#26
2024-11-28 02:22:26 +09:30
Jon
cd0bcf6731 chore(api): Correct DRF Swagger Docs errors
ref: #248 #361 #383
2024-11-28 02:22:25 +09:30
Jon
f695f14e14 test(functional): Move functional test cases to relevant functional test dir
ref: #15 #375 #382
2024-11-28 02:22:25 +09:30
Jon
506c5354cc test(access): Organization API v2 Serializer Checks, only super user can create
ref: #15 #248 #368 #382
2024-11-28 02:22:25 +09:30
Jon
3f92afef13 fix(access): Team User serializer not to capture exceptions
exceptions used to display issue to user

ref: #248 #368 #382
2024-11-28 02:22:25 +09:30
Jon
48541f117e fix(access): Team User team and user fields required when creating, don't use default value.
ref: #248 #368 #382
2024-11-28 02:22:25 +09:30
Jon
873411c875 test(access): Team User API v2 Serializer Checks
ref: #15 #248 #368 #382
2024-11-28 02:22:25 +09:30
Jon
b25bd4cb34 test(access): Team API v2 Serializer Checks
ref: #15 #248 #368 #382
2024-11-28 02:22:25 +09:30
Jon
211ead9900 fix(access): Team name required when creating, don't use default value.
ref: #248 #368 #382
2024-11-28 02:22:25 +09:30
Jon
febf2718ea fix(access): Dont capture exceptions within team serializer
exceptions are used to display the error to the user

ref: #248 #368 #382
2024-11-28 02:22:25 +09:30
Jon
e31511c93b test(access): Organization API v2 Serializer Checks
ref: #15 #248 #368 #382
2024-11-28 02:22:25 +09:30
Jon
d64d1635d8 test(project_management): Organization API v2 ViewSet permission checks
ref: #15 #248 #368 #382
2024-11-28 02:22:25 +09:30
Jon
4acfe5f313 test(core): fix broken tests from 8b701785b3 changes
ref: #15 #248 #368 #374
2024-11-28 02:22:22 +09:30
Jon
268e3294a2 feat(api): Setup API to be correctly versioned
ref: #248 #365
2024-11-28 02:22:16 +09:30
Jon
9f81c49119 test: Adjust tests to cater for action choices now being an integer
ref: #15 #46 #248 #354
2024-11-28 02:22:06 +09:30
Jon
a0ac0e4839 refactor: update model fields
ref: #353
2024-11-28 02:22:04 +09:30
Jon
6d58f33a67 refactor(access): add name to modified field
ref: #352
2024-11-28 02:22:03 +09:30
Jon
8b31a96508 test(access): correct organization permission checks to have HTTP/403 not HTTP/405
ref: #15 #248 #352
2024-11-28 02:22:03 +09:30
Jon
84de741f53 fix(access): Add missing parameters to Team User fields
ref: #15 #248 #348
2024-11-28 02:20:44 +09:30