-
Notifications
You must be signed in to change notification settings - Fork 187
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
Insufficient Permission error for new confirmationBase API call #1360
Comments
Hey @Sourabh-ALTEN Not sure what could be wrong here ... |
Hello @strailov thanks for the update. Currently our server accepts only TargetToken. I cannot change this configuration
How do I enable debug mode? Thank you |
Hawkbit is a Spring based application, so you can add logging.level.logger_name=DEBUG in application.properties file |
@strailov I chane log level to bedug .Also I've the same trouble. here is the log ,
chatgpt answer me , the problem is here , but I cant find how to change it. |
Fix access control: HAS_AUTH_READ_TARGET -> IS_CONTROLLER or HAS_AUTH_READ_TARGET (shall be accessibly by targets when confirmation base is requested) Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
#1360 shall fix the problem. |
Hello,
I am currently testing the new DDI API call
GET /{tenant}/controller/v1/{controllerid}/confirmationBase
in 0.3.0M8 release. But, I am getting an error:"errorCode": "hawkbit.server.error.insufficientpermission"
But the response is:'
However, other calls like
GET /{tenant}/controller/v1/{controllerid}/confirmationBase/{actionId}
andPOST /{tenant}/controller/v1/{controllerid}/confirmationBase/{actionId}/feedback
are working as expected (sameheader
is used)Can anyone please let me know what am I missing?
Thanks in advance
P.S: Testing using
Postman
. Also, enabled "Request confirmation for actions before proceeding with download/install process." option in hawkBit UI underSystem Config
.The text was updated successfully, but these errors were encountered: