Commit Graph

160 Commits

Author SHA1 Message Date
mike12345567 6494962c1a Screens and some slightly changes to Table API typing. 2024-12-03 18:06:09 +00:00
mike12345567 d0179ed815 Permission API typing. 2024-12-03 16:50:13 +00:00
Sam Rose 8c9092cc41
Fix encryption.spec.ts. 2024-11-07 17:19:03 +00:00
mike12345567 f94d8ba870 Fixing merge artifact 2024-10-29 12:18:36 +00:00
Adria Navarro 3f006550d9
Merge branch 'master' into v3-ui 2024-10-29 12:52:13 +01:00
mike12345567 4da185a843 Fixes an issue with public role access, some old roles have a slightly different role ID format which needs to be accounted for in the comparison. Tests will come after, want to get the fix out. 2024-10-29 11:00:45 +00:00
Adria Navarro f279a1716d Allow overriding the min version where we stop serving the power role 2024-10-24 15:52:52 +02:00
mike12345567 8f21802e6e Refactor, correct to the BuiltinPermissionID rather than PermissionLevel, these are different. 2024-10-23 15:08:59 +01:00
mike12345567 74870663e2 Addressing PR comments. 2024-10-22 16:02:20 +01:00
mike12345567 f3d54f1b7d Adding test cases. 2024-10-22 13:54:54 +01:00
mike12345567 47de88f42f Destroy test case. 2024-10-17 17:47:55 +01:00
Michael Drury aaf5debc52
Merge branch 'master' into feature/role-multi-inheritance 2024-10-17 17:01:27 +01:00
mike12345567 bd10a3d831 Missed comment. 2024-10-17 17:00:40 +01:00
mike12345567 2ae1836b9a PR comments. 2024-10-17 16:58:51 +01:00
mike12345567 3da3bccc01 Some fixes for traverser. 2024-10-17 16:27:47 +01:00
mike12345567 cfc5848d14 Improving how traversal is performed for role inheritance. 2024-10-17 16:10:32 +01:00
Adria Navarro 7bb69d7ffd Add tests 2024-10-17 12:17:01 +02:00
Adria Navarro 8008d2ced1 Fix all references 2024-10-17 11:53:20 +02:00
Adria Navarro 1155be4530 Fix 2024-10-17 11:52:03 +02:00
Adria Navarro 15bb730c59 Remove power role for apps created at >= 3.0.0 2024-10-17 11:37:41 +02:00
mike12345567 c40e4a7288 fixing rbac 2024-10-16 21:13:35 +01:00
mike12345567 9c92288f7f Fixing some issues with finding roles. 2024-10-16 21:13:19 +01:00
mike12345567 9fceef0fc2 Some more fixes and test case for screen access. 2024-10-15 17:53:48 +01:00
mike12345567 a56a228042 Fixes based on test case. 2024-10-14 18:57:54 +01:00
mike12345567 676cb3f92e Handling role numbering. 2024-10-14 18:00:41 +01:00
mike12345567 324616be59 Finishing multi-inheritance test case and getting accessibility to be detected correctly. 2024-10-10 18:15:23 +01:00
mike12345567 f907cccc58 Merge branch 'fix/custom-role-naming' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-10 16:28:06 +01:00
mike12345567 5f4694d4d8 Fix for an issue found with custom role naming. 2024-10-10 16:13:32 +01:00
mike12345567 3a2b22d446 Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-10-10 11:47:19 +01:00
Adria Navarro 85ef2f1d2c Fix build issue 2024-10-09 17:08:45 +02:00
Adria Navarro b3efea95bf Undo base permissions 2024-10-09 17:08:45 +02:00
Adria Navarro 577ab5b6ce Fix tests 2024-10-09 17:08:45 +02:00
Adria Navarro ebd762cdb6 Fixes 2024-10-09 17:08:35 +02:00
Adria Navarro 56459b2736 Type 2024-10-09 16:55:59 +02:00
mike12345567 2fd73d044f Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-09-16 15:31:00 +01:00
Andrew Kingston 663c0f20af
Don't use display names as role names, and restore usual names for built in roles 2024-09-13 14:14:36 +01:00
mike12345567 4952747ae9 Taking working from new-rbac-ui branch and separating it into its own PR, so that other work can be based on this from master. 2024-09-12 15:40:37 +01:00
mike12345567 e89042b2e3 Fixing some role typing issues, as well as fixing an issue with the validator not allowing the structure that roles are expected to have. 2024-09-11 18:06:05 +01:00
mike12345567 3d65c13ff5 Merge branch 'master' of github.com:Budibase/budibase into feature/role-multi-inheritance 2024-08-12 13:44:22 +01:00
melohagan c86b1d7ca5
Auto login the user after password is set (#14344)
* login after creating super admin user

* Allow keyboard enter key in create account from invite

* Allow enter key to submit password reset

* Min length for password validation should be 12

* Default PASSWORD_MIN_LENGTH to 12

* fix unit tests

* Fix unit tests

* Add passwordMinLength to admin store
2024-08-08 17:45:04 +01:00
mike12345567 0c8228edad Initial work - some re-typing and updating the role tests to typescript - using role test API to make this a bit easier to adjust going forward. 2024-08-05 15:45:49 +01:00
Sam Rose 257ee8fb70
Fix tests actually. 2024-07-04 10:46:09 +01:00
Sam Rose 16e293a9ff
Fix tests. 2024-07-04 09:55:36 +01:00
Sam Rose d9b94c1dcf
Don't detect empty strings. 2024-07-03 16:31:42 +01:00
Sam Rose 253110ac6f
Detect secrets in error messages. 2024-07-03 16:31:42 +01:00
Sam Rose 182a1df960
Fix the bug, I think. 2024-03-05 17:35:04 +00:00
Sam Rose 488cfea1f4
Fix typing. 2024-03-05 14:40:29 +00:00
Sam Rose fced2f3696
Respond to PR feedback. 2024-03-05 09:23:48 +00:00
Sam Rose 9d8c18337d
Type role controller. 2024-03-04 16:42:41 +00:00
mike12345567 21a8d44ec7 Adding a 'SESSION_EXPIRY_SECONDS' environment variable which can be set on the services to configure how long before an idle user is logged out. 2024-01-25 16:22:39 +00:00