Skip to content

Conversation

@JoshuaSBrown
Copy link
Collaborator

@JoshuaSBrown JoshuaSBrown commented Jan 13, 2025

PR Description

Replaces authz, in foxx with scoped lookup enforcing stricter authorization.

Tasks

  • - A description of the PR has been provided, and a diagram included if it is a new feature.
  • - Formatter has been run
  • - CHANGELOG comment has been added
  • - Labels have been assigned to the pr
  • - A reviwer has been added
  • - A user has been assigned to work on the pr
  • - If new feature a unit test has been added

Summary by Sourcery

Implement scoped lookup for stricter authorization in Foxx, replacing the previous authz implementation.

New Features:

  • Added support for scoped lookup, enabling more granular control over data access permissions.

Tests:

  • Added unit tests for scoped lookup functionality and project access control.

AronPerez and others added 8 commits May 2, 2025 12:47
* [DAPS-1388] Add endpoint model, Add endpoint model, unify seperate collection logic, endpoint validation check, Add endpoint query validations, next is token

* [DAPS-1388] Add tests for model

* [DAPS-1388] PR comments

* Update web/static/components/transfer/transfer-endpoint-manager.js

Co-authored-by: Joshua S Brown <[email protected]>

---------

Co-authored-by: Joshua S Brown <[email protected]>
…ore t… (#1400)

* Set reasonable default that will help filling in repo form for core to repo communication in compose file

* Update scripts/compose_generate_env.sh

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>

* Set appropriate default when building compose image

---------

Co-authored-by: sourcery-ai[bot] <58596630+sourcery-ai[bot]@users.noreply.github.com>
#1393)

* Add documentation describing how to test the foxx microservices unit tests

* Update testing.rst

* Note on database version, variable definition and usage when running arangodb version described, and steps to run unit test numbered.
* updated requirements

* updated requirements

* updated protobuf submodule

* update unit test ci version

* updated protobuf version

* updated setuptools version

* fixed condition

* changed where packages are installed

* used python3.11 to create the virtual environment instead of latest

* reverted protobuf version

* testing specificying version

* removed pyvenv in ci job for consistency

* installed python3.11 in dependencies docker file

* added missing -y flag

* removed unification of install scripts

* added missing python3.11 install

* updated ci job to install python3.11

* changed installed python version to 3.9 since protobuf does not officially support 3.11

* changed installed python version to 3.9 since protobuf does not officially support 3.11

* missed version

* updated includes for newer gcc versions

* updated versions

* updated nlohmann json

* updated json schema version

* changed library search path

* hopefully fixed json dep issues

* updating function signature to match newer version of base class

* updated protobuf

* updated protobuf and cmake

* downgraded cmake

* fixed protobuf version

* fixed protobuf version

* 1398 pin python version (#1405)

* Pin python version

* fixed incorrect path

* Switch to using .tar file install of libsodium (#1414)

* 1413 libsodium build refactor (#1415)

* Switch to using .tar file install of libsodium

* Switch bad option in wget command from -C to -P

* Update scripts/dependency_install_functions.sh

* Update scripts/dependency_install_functions.sh

* Update dependency_install_functions.sh

Libsodium folder version number.

* Update dependency_install_functions.sh

Make paths explicit.

* cleaned up comments

* Update scripts/dependency_install_functions.sh

Co-authored-by: Joshua S Brown <[email protected]>

* Update cmake/JSONSchema.cmake

Co-authored-by: Joshua S Brown <[email protected]>

* Update scripts/dependency_install_functions.sh

Co-authored-by: Joshua S Brown <[email protected]>

* Update cmake/JSONSchema.cmake

Co-authored-by: Joshua S Brown <[email protected]>

* add changes from review

* Changed install scripts to be consistent with new python installation method (#1417)

* changed install scripts to be consistent

* added sudo check

* add apt sources check

---------

Co-authored-by: Blake Nedved <[email protected]>
Co-authored-by: nedvedba <[email protected]>
* Increase serialization randomization pause heuristic - 6 seconds is not long enough to register running pipelines.

* improve serialization
JoshuaSBrown and others added 18 commits May 21, 2025 13:44
* Update action for CPP and Python formatter
* Reorder zmq bind and connect calls to prevent undefined behavior when using INPROC

* Make sure zmq messages are closed when exception is encountered

* Make correction to socket name

* Initialize cmd call

* Add missing include
* Allow looping over containers if there is more than one.

* Fix multipline comment
* [DAPS-14xx] Move files over and move out svg

* [DAPS-1408] Provenance Visual Management (2/2) (#1419)

* [DAPS-14xx] Base

* [DAPS-14xx] Add styling and tooltips

* [DAPS-14xx] Add node and label customization

* [DAPS-14xx] Add editor modal on right-click. Draggable model

* [DAPS-14xx] Revert

* [DAPS-14xx] Seperate files, update styles

* [DAPS-14xx] simplify feat

* [DAPS-14xx] Expand mocha tests, prettier

* [DAPS-14xx] Update checkout version

* [DAPS-14xx] Add todo

* [DAPS-14xx] Update tests, consts, fix tooltip

* [DAPS-14xx] Base:

[DAPS-14xx] Address collapse, expand, hide

* [DAPS-14xx] THEME, address comments

* [DAPS-14xx] Zoom

* [DAPS-14xx] JSDOC

* Update web/static/jquery-ui-dark/datafed.css

Co-authored-by: Joshua S Brown <[email protected]>

* Update web/static/jquery-ui-dark/datafed.css

Co-authored-by: Joshua S Brown <[email protected]>

* Update web/static/jquery-ui-dark/datafed.css

Co-authored-by: Joshua S Brown <[email protected]>

---------

Co-authored-by: Joshua S Brown <[email protected]>
* Add missing virtual destructors

* Fix ZeroMQ INPROC and TCP context

* Add memory tests to CMakeLists.txt as an option

* Add protobuf library shutdown to unit tests for memory cleanup
* [DAPS-1331] Modified the script to only delete and recreate guest collections when the base path actually changes

* [DAPS-1331] Add base path logic

* [DAPS-1331] Update guest collection file

* [DAPS-1331] Fix base path caching logic in should_recreate_guest_collection function to recreate by default when no cached path is available

* [DAPS-1331] Add tests

* [DAPS-1331] Revert Gitlab CI
* Update issue templates

* Update issue templates

* Update pull_request_template.md (#1433)

* [DAPS-RELEASE]

* [TASK] Remove icons from labels (#1489)

---------

Co-authored-by: Joshua S Brown <[email protected]>
@JoshuaSBrown JoshuaSBrown changed the base branch from 1180-refactor-authz to devel June 19, 2025 03:05
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.

6 participants