the default permissions may not be applied correctly like i have read checked but it still asks for permission #198

Closed
opened 2026-03-09 13:01:21 -07:00 by amari Β· 0 comments

Default Permissions Not Applied Correctly

Description

Hey there! πŸ‘‹ Thanks so much for flagging this β€” it's exactly the kind of thing that can be frustrating when permissions should "just work."

We're noticing that the default permission settings aren't being applied as expected. Specifically, when a user has "read" permissions checked in the defaults, the system is still prompting them for permission instead of granting access automatically. This suggests there's a disconnect between what's configured and what's actually being enforced.

This one matters because users expect their default permissions to be respected without friction β€” it's the whole point of setting defaults in the first place! Let's get this sorted so the permission system works as intended.

What We Know

  • Default "read" permission is marked/checked in settings
  • System still prompts for permission when it shouldn't
  • Expected behavior: access should be granted silently based on defaults

Acceptance Criteria

  • βœ… Verify that default permissions (read, write, etc.) are correctly retrieved from the user's profile/settings
  • βœ… Confirm the permission check logic actually compares against these defaults before prompting
  • βœ… Test that a user with default "read" permission can access resources without additional permission prompts
  • βœ… Ensure the fix works across all permission types (read, write, admin, etc.)
  • βœ… Add a test case that would catch this regression in the future

Next Steps

This will need someone to dig into the permission-checking logic and trace where the disconnect is happening. Could be in retrieval, comparison, or enforcement β€” we'll figure it out together!

Thanks for bringing this to our attention. πŸ’™

# Default Permissions Not Applied Correctly ## Description Hey there! πŸ‘‹ Thanks so much for flagging this β€” it's exactly the kind of thing that can be frustrating when permissions should "just work." We're noticing that the default permission settings aren't being applied as expected. Specifically, when a user has "read" permissions checked in the defaults, the system is still prompting them for permission instead of granting access automatically. This suggests there's a disconnect between what's configured and what's actually being enforced. This one matters because users expect their default permissions to be respected without friction β€” it's the whole point of setting defaults in the first place! Let's get this sorted so the permission system works as intended. ## What We Know - Default "read" permission is marked/checked in settings - System still prompts for permission when it shouldn't - Expected behavior: access should be granted silently based on defaults ## Acceptance Criteria - βœ… Verify that default permissions (read, write, etc.) are correctly retrieved from the user's profile/settings - βœ… Confirm the permission check logic actually compares against these defaults before prompting - βœ… Test that a user with default "read" permission can access resources without additional permission prompts - βœ… Ensure the fix works across all permission types (read, write, admin, etc.) - βœ… Add a test case that would catch this regression in the future ## Next Steps This will need someone to dig into the permission-checking logic and trace where the disconnect is happening. Could be in retrieval, comparison, or enforcement β€” we'll figure it out together! Thanks for bringing this to our attention. πŸ’™
naomi closed this issue 2026-03-09 16:53:09 -07:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: nhcarrigan/hikari-desktop#198