Skip to content

feat: Add get_project_parents method#391

Merged
gtema merged 1 commit intomainfrom
project_parents
Nov 24, 2025
Merged

feat: Add get_project_parents method#391
gtema merged 1 commit intomainfrom
project_parents

Conversation

@gtema
Copy link
Collaborator

@gtema gtema commented Nov 24, 2025

For identifying all assignments user has on the project it is necessary
to also identify all project parents (inherited assignments).

@github-actions
Copy link

github-actions bot commented Nov 24, 2025

🐰 Bencher Report

Branchproject_parents
Testbedubuntu-latest
Click to view all benchmark results
BenchmarkLatencyBenchmark Result
nanoseconds (ns)
(Result Δ%)
Upper Boundary
nanoseconds (ns)
(Limit %)
fernet token/project📈 view plot
🚷 view threshold
1,477.50 ns
(+18.11%)Baseline: 1,250.91 ns
1,616.78 ns
(91.39%)
get_fernet_token_timestamp/project📈 view plot
🚷 view threshold
160.06 ns
(+0.53%)Baseline: 159.22 ns
217.30 ns
(73.66%)
🐰 View full continuous benchmarking report in Bencher

@github-actions
Copy link

github-actions bot commented Nov 24, 2025

🦢 Load Test Results

Goose Attack Report

Plan Overview

Action Started Stopped Elapsed Users
Increasing 25-11-24 19:14:17 25-11-24 19:14:19 00:00:02 0 → 4
Maintaining 25-11-24 19:14:19 25-11-24 19:14:49 00:00:30 4
Decreasing 25-11-24 19:14:49 25-11-24 19:14:49 00:00:00 0 ← 4

Request Metrics

Method Name # Requests # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
GET 11611 0 9.83 6 21 387.03 0.00
Aggregated 11611 0 9.83 6 21 387.03 0.00

Response Time Metrics

Method Name 50%ile (ms) 60%ile (ms) 70%ile (ms) 80%ile (ms) 90%ile (ms) 95%ile (ms) 99%ile (ms) 100%ile (ms)
GET 8 9 13 13 14 14 15 21
Aggregated 8 9 13 13 14 14 15 21

Status Code Metrics

Method Name Status Codes
GET 11,611 [200]
Aggregated 11,611 [200]

Transaction Metrics

Transaction # Times Run # Fails Average (ms) Min (ms) Max (ms) RPS Failures/s
ListUsers
0.0 0 0 0.00 0 0 0.00 0.00
0.1 7288 0 7.76 6 12 242.93 0.00
ValidateToken
1.0 0 0 0.00 0 0 0.00 0.00
1.1 4323 0 13.43 11 21 144.10 0.00
Aggregated 11611 0 9.83 6 21 387.03 0.00

Scenario Metrics

Transaction # Users # Times Run Average (ms) Min (ms) Max (ms) Scenarios/s Iterations
ListUsers 2 7286 7.76 6 12 242.87 3643.00
ValidateToken 2 4321 13.43 11 21 144.03 2160.50
Aggregated 4 11607 9.87 6 21 386.90 5803.50

Error Metrics

Method Name # Error

View full report

@gtema gtema force-pushed the project_parents branch 2 times, most recently from d2d3d36 to 14ca172 Compare November 24, 2025 19:04
For identifying all assignments user has on the project it is necessary
to also identify all project parents (inherited assignments).
@gtema gtema merged commit 28011dc into main Nov 24, 2025
21 checks passed
@gtema gtema deleted the project_parents branch December 8, 2025 14:55
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.

1 participant

Comments