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

non existent permissions that are linkauthed to are not reported in get_account's linked_actions #1211

Open
spoonincode opened this issue Feb 27, 2025 · 3 comments

Comments

@spoonincode
Copy link
Member

No description provided.

@bhazzard bhazzard added discussion more-info More information requested from issue reporter and removed triage labels Mar 6, 2025
@bhazzard
Copy link

bhazzard commented Mar 6, 2025

linked actions probably iterates through the account's permissions, thus it wouldn't look for linkauths for a permission it doesn't have. There is also some question as to whether a similar issue might arise when a permission delegates to some other permission, whether it recurses.

Need to investigate the implications of this, and also whether we even have the right data indexed to be able to improve on this.

@spoonincode
Copy link
Member Author

After activation of ONLY_LINK_TO_EXISTING_PERMISSION which occurred Sep 2019 it is no longer possible to linkauth to a non-existant permission. And it was never possible to remove a permission that was linkauthed to. Issue was reported on an account that created a linkauth prior to Sep 2019.

@bhazzard
Copy link

Create unit test to ensure expected behavior doesn't regress, then close.

@bhazzard bhazzard added 👍 lgtm and removed triage discussion more-info More information requested from issue reporter labels Mar 27, 2025
@bhazzard bhazzard added this to the Spring v1.x Cusp milestone Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

3 participants