Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/192 attribute-based authnz and WOPI validator sample #193

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

dviry
Copy link
Collaborator

@dviry dviry commented Mar 6, 2025

Motivation

Which issue does this fix? Fixes #192

  • refactored to attribute-based authorization requirements for controllers
    • prepped also for Containers authorizations
  • created a sample/ subfolder and move existing sample projects
    • created new readme specific for the samples
  • created a new "all in one" WopiValidator sample specific for the WOPI-Validator operations
    • known token as required by WOPI-Validator
    • this will make it easier to run since only one server is required
    • prep for integrating into build/validation process?
  • updated main readme file to point to new sample/readme file

NOTE: IMO we should also rethink the authentication - as the custom scheme might not be needed in some integration (e.g. when running in Azure I already have a AAD Jwt token that I could simply re-use and would be way more secure) - but more on that on a separate ticket.

@dviry dviry requested a review from petrsvihlik as a code owner March 6, 2025 11:19
@dviry dviry deployed to Integrate Pull Request March 6, 2025 11:20 — with GitHub Actions Active
@codefactor-io codefactor-io bot temporarily deployed to Integrate Pull Request March 6, 2025 11:20 Inactive
@dviry
Copy link
Collaborator Author

dviry commented Mar 6, 2025

PS: note that the markdown links do not currently work since they are absolute references to your github repo - I could try using relative links (not sure if that would work)

@dviry
Copy link
Collaborator Author

dviry commented Mar 6, 2025

hmm CodeFactor is failing due to javascript libraries - can you exclude those?

Copy link

codecov bot commented Mar 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 46.25%. Comparing base (175a1f4) to head (8a99e51).

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #193      +/-   ##
==========================================
+ Coverage   46.04%   46.25%   +0.21%     
==========================================
  Files          50       48       -2     
  Lines        1101     1096       -5     
  Branches      114      111       -3     
==========================================
  Hits          507      507              
+ Misses        555      548       -7     
- Partials       39       41       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@petrsvihlik
Copy link
Owner

@dviry It's gonna take me some time to go through all the changes. Looking at my calendar, I think I should be able to review it during the weekend.

@dviry dviry requested a deployment to Integrate Pull Request March 6, 2025 16:49 — with GitHub Actions Waiting
@dviry dviry requested a deployment to Integrate Pull Request March 6, 2025 16:49 — with GitHub Actions Waiting
@codefactor-io codefactor-io bot requested a deployment to Integrate Pull Request March 6, 2025 16:49 Waiting
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use attribute-based authorization and create single-hosted WopiValidator sample
3 participants