1
0
Fork 0
mirror of synced 2024-09-19 02:39:37 +12:00
Commit graph

303 commits

Author SHA1 Message Date
mike12345567
e3469ed38d Fixing dev-tools handling of custom roles and build issue - PR comments. 2023-09-27 16:52:20 +01:00
mike12345567
395969e0f0 Fixing build issue,. 2023-09-27 16:24:12 +01:00
Adria Navarro
d16110ca73 Fix tests 2023-09-04 15:49:58 +02:00
Adria Navarro
ad8fb01657 Use permissions sdk on authorized middleware 2023-09-04 14:13:10 +02:00
Adria Navarro
cefb57d78a Merge branch 'develop' into views-v2-frontend 2023-08-30 15:12:56 +02:00
Adria Navarro
cfeb6993cc Test authorised view use cases 2023-08-24 11:46:36 +02:00
Adria Navarro
8359185a22 Add unhappy paths tests 2023-08-24 11:23:30 +02:00
Adria Navarro
84a6f239a9 Migrate tests to ts 2023-08-24 11:05:31 +02:00
Adria Navarro
bfa2b491f3 Allow view permission type 2023-08-24 10:22:08 +02:00
Adria Navarro
b380207064 Merge resource and authorized, allowing transformers 2023-08-24 09:36:44 +02:00
Adria Navarro
9a15277fa1 Split authorized middleware to handle resource id fetch 2023-08-24 09:11:54 +02:00
mike12345567
7110351bdc Revert "revert develop into master"
This reverts commit fd099658a0.
2023-08-18 14:33:21 +01:00
Andrew Kingston
e7c4ebea39 Persist source view ID in ctx when using a view ID in the rows API and support collab in views 2023-08-17 12:07:37 +01:00
Martin McKeaveney
fd099658a0 revert develop into master 2023-08-17 10:28:15 +01:00
mike12345567
4bbae677b2 Updating tests/search to handle no schema means no data, rather than all data. 2023-08-14 12:44:05 +01:00
mike12345567
0fb6f8312a Fixing test and updating middleware to match requirements. 2023-08-14 12:10:16 +01:00
mike12345567
3b7a5c0392 Mutate in middleware, don't update reference. 2023-08-14 11:44:10 +01:00
mike12345567
9e0964a5e3 Removing concept of columns and schemaUI, replacing with just schema as now the backend uses UI attributes. 2023-08-11 15:52:13 +01:00
mike12345567
c18459d84d Updating trim view info test case. 2023-08-08 13:43:13 +01:00
mike12345567
0abd1deb34 Updating test cases, fixes based on running through view/row API. 2023-08-08 13:19:22 +01:00
mike12345567
a1d85a831c Some quick modifications to allow the views to go through the standard row CRUD, the view search is still separate for now however this may change. 2023-08-04 16:58:40 +01:00
mike12345567
7871bedb25 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-08-01 15:27:38 +01:00
mike12345567
b32ed151a1 Merge branch 'develop' of github.com:Budibase/budibase into feature/BUDI-7052 2023-08-01 13:11:45 +01:00
Adria Navarro
44e028b574 Fix test 2023-08-01 12:26:37 +02:00
Adria Navarro
b3b4a6a177 Test noViewDataMiddleware 2023-07-31 14:14:59 +02:00
Adria Navarro
d8df917772 More tests 2023-07-31 14:08:31 +02:00
Adria Navarro
525052ce7e Unhappy path tests 2023-07-31 13:34:57 +02:00
Adria Navarro
70cd44ba2a More tests 2023-07-31 13:24:08 +02:00
Adria Navarro
30c3c6e5ad Test middlewate 2023-07-31 13:17:54 +02:00
Adria Navarro
eaa7d9bf81 trimViewRowInfo middleware and api test 2023-07-31 12:03:03 +02:00
Adria Navarro
97f7629345 Renames 2023-07-31 10:50:33 +02:00
Adria Navarro
7a9a997d73 Use middleware for checks 2023-07-31 10:38:31 +02:00
mike12345567
7b9f86d7ea Fix found by authorized test case. 2023-07-28 17:06:53 +01:00
mike12345567
c2793ede4c Properly supporting the new global builder permission type to deny access to app creation. 2023-07-26 17:48:35 +01:00
mike12345567
64a5426d36 Updates to remove app builder concept, denying access to app creation for app builders. 2023-07-26 17:32:21 +01:00
mike12345567
3abe5d4cb2 Frontend work to support logging in as an app builder - also making sure when a new app is created that the user is assigned app access to it. 2023-07-20 18:34:12 +01:00
mike12345567
85dea47a31 Moving user admin/builder functions to shared-core for frontend to use. 2023-07-19 16:19:34 +01:00
mike12345567
91847504c8 Adding test cases for admin/builder checking middlewares. 2023-07-18 18:10:15 +01:00
mike12345567
39746e0bf0 Main body of work to handle the new approach of per app builders support. 2023-07-18 16:57:48 +01:00
Adria Navarro
2698e47ec4 Type internal db.get 2023-07-18 11:41:51 +02:00
Dean
602ea9bc4e General tidying and refactoring. Updated the publish button behaviour to also take into account revert and version update behaviours. 2023-06-20 12:33:18 +01:00
mike12345567
1bdf55e966 Some type updates and fixes for test case. 2023-06-13 14:45:33 +01:00
mike12345567
bedc8e5cce Fix for custom roles that have not been published causing users to be unable to access an app completely. They should instead be treated as public users as their role isn't valid. 2023-06-12 18:39:30 +01:00
mike12345567
7c7bd4d5cb Fix for debugging with webstorm the old way (if desired), updating the builder middleware to be more multi-dev capable, ignoring 409s when attempting to update the last updated at for apps (if multiple devs hit at same time, only use one) also updating writethrough cache to retry once, with the extended TTL on locks, plus the multi-dev collab it can take a minute to update usage quota doc when a lot of updates occur at once. 2023-05-30 17:41:20 +01:00
Andrew Kingston
7f96fbf741 Remove single user restriction and notify users if they are the primary builder or not 2023-05-12 13:55:08 +01:00
adrinr
6a257bf9c3 Tweak tests 2023-03-31 09:01:40 +01:00
adrinr
48b964378b Remove all app cookie references (not really needed anymore) 2023-03-31 09:01:40 +01:00
Michael Drury
669c4ebd5c Fix for currentapp build issue. 2023-03-22 17:46:37 +00:00
Rory Powell
4b85583f5f Update builder and authorized middleware to be more strict towards unauthenticated (#9774)
* Update builder and authorized middleware to be more strict towards unauthenticated

* Remove unnecessary variable
2023-02-22 13:39:31 +00:00
Adria Navarro
24f8f3a7cb Fix currentapp middleware to allow app_ parameters 2023-01-12 15:38:22 +00:00