PostSaveBluePrint upload throws 401
# help-with-umbraco
a
hello, our users are experiencing a strange behaviour of the system. People who are using DTGE and have only content editing access without access to the settings when they try to upload a document they are receiving 401 from backoffice/UmbracoApi/Content/PostSaveBluePrint post action. This is mentioned in this ticket: https://github.com/umbraco/Umbraco-CMS/issues/15572 where DTGE created a new 1.3.0-blackknight version. But unfortunately after upgrading to this package the issue still exists. Unfortunately any user who doesn't have access to the Settings section cannot create or edit doctype grid editor content. If they try, PostSaveBluePrint will return a 401 and a challenge, which on Umbraco Cloud sends them to a login-screen. Please help us with this, thanks.
s
Are you absolutely sure that you have actually upgraded the package? Try checking if you have the changes from the update in your files: https://github.com/skttl/umbraco-doc-type-grid-editor/pull/291/files#diff-5fdcf31afe247ce69cdd820387099fbf83662d2abf1d15d9fcb833ac4aab8a81
eg. open op /App_Plugins/DocTypeGridEditor/Js/doctypegrideditor.controllers.js and see if line 256 is
dtgeResources.deleteBlueprint($scope.model.node.id);
a
hello, @User I've checked doctypegrideditor.controllers.js on Umbraco Cloud and the file contains exactly the line what You mentioned https://cdn.discordapp.com/attachments/1217869725439098930/1219244214802714687/image.png?ex=660a98a9&is=65f823a9&hm=0fed90b8ad293d7b3cd0c7edef3cce73699b511b5a424e88949364fad8624ed4&
m
could it be that this is a production site, so this js file will be minified and combined? you might need to bump the cdf version to cache bust?
s
@Mike Chambers is probably right
a
Thanks @Mike Chambers , @skttl , Could You please tell what shall I do to fix that? Thanks
s
bump the version number in config/clientdependency.config
a
Thank You, I think this solved the issue 🙂
2 Views