admin not able to unlock items locked by other user

Posted by Community Admin on 04-Aug-2018 06:10

admin not able to unlock items locked by other user

All Replies

Posted by Community Admin on 10-Jul-2014 00:00

I have multiple dynamic module items in my sitefinity 6.3 solution. 

I have “Unlock” issue is happening on all the Custom module  i.e. only the user who Locked the content can only Unlock it, where as it should allow Administrator to unlock any content.

Also my all users are in administrator role. Is there any problem of content of one admin role user with other?

Like for instance I am logged in with admin user and try to click one item and get message like

"The item has been locked by ABCUser since 24/6/2014 13:16:46.Press OK to close the dialog." 

Please let me know how to overcome this issue

Posted by Community Admin on 14-Jul-2014 00:00

Hi Kamran,

This is indeed strange. In general Admin users can unlock all content, no matter what role locked it in the first place. I suspect the issue is permission based. Can you confirm that you do not have any permissions set on a user base - meaning user A is admin, but content permissions deny the user access to a certain module?

Regards,
Ivan D. Dimitrov
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 14-Jul-2014 00:00

Hi Ivan,

I don't remember i have put any permission restriction on particular user.I have simply a user with username Admin [from which mainly installation is done].
Then I have another user with name AlternativeAdmin which has same permission as of Admin user .[administrator role, back-end access e.t.c]
Could i have some sort of query which i can ran in my database for both user to check if there is any sort of permission difference as from Users dashboard i can't find any difference in both of them 

Thanks a lot for your's time.

Posted by Community Admin on 17-Jul-2014 00:00

Hi Karman,

I believe this behavior requires some in depth investigation and this forum is not suitable. I can advise you submit a support ticket where me or one of my teammates can look into the issue in further detail. This may involve you providing credentials for the solution or the solution itself, therefore I advise you do not continue the matter in a public forum.

Regards,
Ivan D. Dimitrov
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 17-Jul-2014 00:00

Ok Ivan though I always preferred posting on public forums as the resolution might help other's who are facing similar problem.

Posted by Community Admin on 21-Jul-2014 00:00

Hi Kamran,

I agree with you on this matter. The ticket will simply protect your personal information. Once the issue is resolved, feel free to post all your findings here for the rest of the community to view.

Regards,
Ivan D. Dimitrov
Telerik

 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

Posted by Community Admin on 21-Jul-2014 00:00

Thanks Ivan

Posted by Community Admin on 28-Sep-2015 00:00

Did you manage to find a solution for this problem? I have the same issue with my content blocks. I also have an admin account. In pages, I can unlock every page. But in the content blocks module, I also get this popup without any option to unlock.
The item has been locked by ABCUser since 24/6/2014 13:16:46.Press OK to close the dialog.

Thanks for your reply.

Posted by Community Admin on 30-Sep-2015 00:00

Hi,

No one else has reported this problem. Is it an option for you to submit a support ticket with additional information about the problem and backend access so we can investigate this behavior further? Moreover could you please inform us what is the Sitefinity version you are using?

You can programmatically unlock the content item using the sample below. Please have in mind that you need to modify the code to work with content blocks.

var newsMan = NewsManager.GetManager();
var newsItemMaster = newsMan.GetNewsItems().Where(n => n.Title == "test" && n.Status == ContentLifecycleStatus.Master).SingleOrDefault();
  
newsMan.Lifecycle.DiscardAllTemps(newsItemMaster);
newsMan.SaveChanges();

Moreover, you should be logged in the backend as administrator. Further information regarding how to modify content blocks by code can be found in our Sitefinity documentation.

Regards,
Stefani Tacheva
Telerik
 
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
 

This thread is closed