metacatui icon indicating copy to clipboard operation
metacatui copied to clipboard

test: Expose critical AccessPolicy permission validation failures

Open mlhenderson opened this issue 1 month ago • 1 comments

Comprehensive test suite reveals multiple permission system bugs:

  • Type validation failures in AppModel configuration
  • Broken permission hierarchy (changePermission without write)
  • Silent failures in policy creation and broadcasting
  • Integration inconsistencies across views and models

Tests document expected failures and provide roadmap for fixes.

mlhenderson avatar Oct 21 '25 18:10 mlhenderson

I suspect that these issues are related to the bugs contained in the skipped tests marked EXPECTED FAILURE:

https://github.com/NCEAS/metacatui/issues/1918 https://github.com/NCEAS/metacatui/issues/1916

There do not appear to be that many issues regarding access policy bugs, but it could be that this is because most data deployed with Metacat is public.

mlhenderson avatar Oct 21 '25 19:10 mlhenderson