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

fix: App ignore rules are causing all grant states to be true #360

Merged
merged 7 commits into from
Jan 11, 2024

Conversation

Vinodsathyaseelan
Copy link
Contributor

@Vinodsathyaseelan Vinodsathyaseelan commented Dec 14, 2023

What

When a user places an AppId in the app_ignore_rules in manifest for *, it is setting all capabilities to granted and permitted

Expected : Giving * in app_ignore_rules should give the AppId full permissions for all available capabilities NOT grant all capabilities.

Why

There are separate exclusion list for app permissions and user grants. This is a bug where app ignore rules are bypassing user grants in addition to permission check.

How

Changes have been made to ensure that app ignore rules are applicable only for app permission check.

Test

How has this been tested? How can a reviewer test it?

Checklist

  • I have self-reviewed this PR
  • I have added tests that prove the feature works or the fix is effective

@Vinodsathyaseelan Vinodsathyaseelan changed the title fix: App ignore rules are causing all grant states for be true fix: App ignore rules are causing all grant states to be true Dec 15, 2023
@Vinodsathyaseelan Vinodsathyaseelan merged commit 3fa01fd into main Jan 11, 2024
6 checks passed
@Vinodsathyaseelan Vinodsathyaseelan deleted the RPPL-1410 branch January 11, 2024 21:19
@satlead satlead added this to the ripple-1.2.0 milestone Feb 22, 2024
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.

4 participants