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

Analytic Rule perm issue when Executing #4617

Open
stroomdev10 opened this issue Nov 22, 2024 · 1 comment
Open

Analytic Rule perm issue when Executing #4617

stroomdev10 opened this issue Nov 22, 2024 · 1 comment
Assignees
Labels
Milestone

Comments

@stroomdev10
Copy link
Member

Error executing rule: ABCRule (123456) 
stroom.util.shared.PermissionException: You are not authorised to read AnalyticRule 'ABCRule' {123456}
	at stroom.docstore.impl.StoreImpl.read(StoreImpl.java:571)
	at stroom.docstore.impl.StoreImpl.read(StoreImpl.java:561)
	at stroom.docstore.impl.StoreImpl.readDocument(StoreImpl.java:292)
	at stroom.docstore.impl.StoreImpl.readDocument(StoreImpl.java:67)
	at stroom.analytics.rule.impl.AnalyticRuleStoreImpl.readDocument(AnalyticRuleStoreImpl.java:248)
	at stroom.analytics.rule.impl.AnalyticRuleStoreImpl.readDocument(AnalyticRuleStoreImpl.java:53)
	at stroom.analytics.impl.ScheduledQueryAnalyticExecutor.executeIfScheduled(ScheduledQueryAnalyticExecutor.java:256)
	at stroom.analytics.impl.ScheduledQueryAnalyticExecutor.lambda$execAnalyticAsUser$8(ScheduledQueryAnalyticExecutor.java:230)
	at stroom.security.impl.SecurityContextImpl.useAsRead(SecurityContextImpl.java:423)
	at stroom.analytics.impl.ScheduledQueryAnalyticExecutor.lambda$execAnalyticAsUser$9(ScheduledQueryAnalyticExecutor.java:227)
	at stroom.security.impl.SecurityContextImpl.asUser(SecurityContextImpl.java:355)
	at stroom.analytics.impl.ScheduledQueryAnalyticExecutor.lambda$execAnalyticAsUser$11(ScheduledQueryAnalyticExecutor.java:227)
	at stroom.util.concurrent.WorkQueue.lambda$new$0(WorkQueue.java:26)
	at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1804)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
	at java.base/java.lang.Thread.run(Thread.java:1583)
@stroomdev10 stroomdev10 added this to the v7.5 milestone Nov 22, 2024
at055612 added a commit that referenced this issue Nov 22, 2024
PR for #4617 - Analytic Rule perm issue when Executing
@at055612
Copy link
Member

PR is only debug logging

@at055612 at055612 self-assigned this Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants