spiff-arena/.gitignore
Tim Consolazio 949c716316
Bug/perm check cache (#1184)
* Update PermissionService.tsx

Semi-naive cache to prevent redundant perm calls.

* Permission Cache (and reading/updating/wiping)

Simple cache Map to avoid making piles of redundant permission checks.

* Update PermissionCacheService.ts

Coderabbit comment.

* Update PermissionCacheService.ts

A little more elegant.

* Update PermissionCacheService.ts

Rolled validation back in.

* Update PermissionCacheService.ts

A little more elegant.

* Update permissionsService to be a little more robust, and test spec

* Update to always run callback

Now creates a response from the cache to feed the callback.

Still seeing the cypress error though (and remember you have to adjust the PermssionsServiceCache tests).

* Permission cache enhancements

PermissionCache now stores all returned permission for a path (without duplicates). Incoming permission requests now find and (if found) return the PermissionVerbResults they were looking for (based on the verbs in the PermissionsToCheck) from the overall collection for a given path.

* Update PermissionCacheService.ts

* Adjust Cache Tests

* fix lint

* Update PermissionService.tsx

Lint error ugh.

* kills consoles, add aider ignore

---------

Co-authored-by: Kevin Burnett <18027+burnettk@users.noreply.github.com>
Co-authored-by: burnettk <burnettk@users.noreply.github.com>
2024-03-20 08:14:42 -07:00

15 lines
155 B
Plaintext

pyrightconfig.json
.idea/
t
*~
.dccache
version_info.json
.coverage*
UNKNOWN.egg-info/
process_models/
.ipynb_checkpoints
.env*
.cache
.mypy_cache
.aider*