Skip to content

feat: restrictions for not IsViewerUser #2684

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

Merged
merged 8 commits into from
Aug 8, 2025
Merged

feat: restrictions for not IsViewerUser #2684

merged 8 commits into from
Aug 8, 2025

Conversation

Raubzeug
Copy link
Contributor

@Raubzeug Raubzeug commented Aug 7, 2025

Stand

Decided with @adameat to user /groups handler to get information about vDisk, cause this handler is effective and support all security issues.

CI Results

Test Status: ⚠️ FLAKY

📊 Full Report

Total Passed Failed Flaky Skipped
358 353 0 3 2
Test Changes Summary ⏭️2

⏭️ Skipped Tests (2)

  1. Scroll to row, get shareable link, navigate to URL and verify row is scrolled into view (tenant/diagnostics/tabs/queries.test.ts)
  2. Copy result button copies to clipboard (tenant/queryEditor/queryEditor.test.ts)

Bundle Size: 🔺

Current: 85.33 MB | Main: 85.32 MB
Diff: +8.42 KB (0.01%)

⚠️ Bundle size increased. Please review.

ℹ️ CI Information
  • Test recordings for failed tests are available in the full report.
  • Bundle size is measured for the entire 'dist' directory.
  • 📊 indicates links to detailed reports.
  • 🔺 indicates increase, 🔽 decrease, and ✅ no change in bundle size.

@Raubzeug Raubzeug linked an issue Aug 7, 2025 that may be closed by this pull request
Comment on lines 245 to 247
const vDiskExtendedParamsDefined = !isNil(nodeId) && !isNil(pDiskId) && !isNil(vDiskSlotId);

const vDiskBasicParamsDefined = !isNil(vDiskId);
Copy link
Member

@artemmufazalov artemmufazalov Aug 8, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like you may leave only !isNil(vDiskId), I don't see why you the rest params are necessary if you have a check vDiskExtendedParamsDefined || vDiskBasicParamsDefined

@Raubzeug Raubzeug requested a review from artemmufazalov August 8, 2025 15:55
artemmufazalov
artemmufazalov previously approved these changes Aug 8, 2025
@Raubzeug
Copy link
Contributor Author

Raubzeug commented Aug 8, 2025

/claude-review

@Raubzeug Raubzeug added this pull request to the merge queue Aug 8, 2025
Merged via the queue into main with commit a458c8f Aug 8, 2025
7 checks passed
@Raubzeug Raubzeug deleted the dbuser branch August 8, 2025 17:49
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.

Restrictions for not IsViewerUser
2 participants