EPIServer 6 doesnt let admin delete page - admin

I have an issue where EPIServer 6 says "insufficient privileges to change this page". I am 100% sure that I'm the highest admin available, and I have tried on my colleagues admin accounts aswell.
This is the icon showing:
The page was previously forcefully deleted from the project giving a and error when trying to access it from the menu. I added the page back in the project, but still cannot delete it via episerver on the page..
Any ideas? Google search turns up dry..

Switch over to Admin mode, and check what groups your user is part of. Then go to Set Access Rights (still in Admin mode), select the page in the tree, and make sure that any of the groups your user is part of has Delete or Administer rights for the page. If none do, check if your user has any of those rights for the page. If not, then add those rights for your user, switch to Edit mode and delete the page.
If it still doesn't work, make the same checks for the Recycle Bin.

You should be able to delete it through code using the DataFactory Delete method with a RequiredAccess of None.
Although, that won't clarify why you can't delete the page through the UI... :/

If you have access to the EPiServer database directly you can run this script in order to force delete a page. At least if you're using EPiServer 6.
--- Force EPiServer page deletion
declare #pageIDtoDelete int
set #pageIDtoDelete = <INSERT PAGE ID HERE>
delete from tblWorkProperty where fkWorkPageID in (select pkID from tblWorkPage where fkPageID = #pageIDtoDelete)
delete from tblWorkPage where fkPageID = #pageIDtoDelete
delete from tblProperty where fkPageId = #pageIDtoDelete
delete from tblAccess where fkPageID = #pageIDtoDelete
delete from tblPageLanguage where fkPageID = #pageIDtoDelete
delete from tblPage where pkID = #pageIDtoDelete

Related

User without permission can see the list with no items to show instead of Sorry, this site hasn't been shared with you.at shrepoint

At microsoft sharepoint the permission of list is already updated, but user without permission still can see the list at left hand side quick launch, and when enter the link it shown with no items to show instead of Sorry, this site hasn't been shared with you.
Unexpected
Expected
You have probably added the list to a sitepage.
Permissions work differently for sitepages and apps.
If you grant a user permission to view a sitepage you implicitly grant the permission to view any webpart on that sitepage.
If the user does not have permission to view the contents of the app inside of the webpart, the app will display as having no content.
To get the error message you desire when no read permission was granted, you have to share the URL of your list.
Go to you site contents (gear icon top right corner) and click on your list. Now copy the URL from your navigation bar and share it with your users.

Not able to delete extranet user from sitecore

When I try to delete an extranet user from sitecore , error pop up shows
The following users could not be deleted:
extranet\pratik.wasnik#example.com
Exception:
Non-static method requires a target.
Can anyone help me in deleting this user ? this user is already unlocked.
The user sitecore\pratikw is not an extranet user but a user in the Sitecore domain. Maybe you are logged in to sitecore as the user and that causes the issue?
Extranet users is named like this extranet\. You should probably look for extranet\pratikw

What happens if a user is deleted in redmine?

If I delete a user in redmine, what exactly will be deleted and what will stay?
Will the issues that user created be deleted as well?
If you delete a user, there will be a security question if you really want to do it and that it cannot be undone.
Then after deletion, all issues the user made are still there but marked as posted anonymous.
So if you also want to delete all posts by this user, you should do this before deleting the user.

Deleting in Django Admin throws a 403 error

I am attempting to delete a record from the Django admin interface. I click the check box then select "Delete Selected " from the action drop down and select 'Go'. This immediately throws a 403 error.
This is the area I am attempting to delete from that gets the 403s:
The model that is having problems deleting has two inline elements. However, will allow me to delete if I go to each individual record and select delete from there.
It works from here (after clicking 'Third' from the above image)
I watched the request in Firebug and it does not seem different than when I delete a record on a different model and it works.
This is the output of Firebug:
Parameters application/x-www-form-urlencoded
_selected_action 2
action delete_selected
csrfmiddlewaretoken lr6EAAPGJWJBWIm6NxIoyt8fWzfuNxj9
index 0
select_across 0
Source
csrfmiddlewaretoken=lr6EAAPGJWJBWIm6NxIoyt8fWzfuNxj9&action=delete_selected&select_across=0&index=0&_selected_action=2
I am unsure where to go to troubleshoot this error since I haven't modified the admin panel at all and the only thing in the logs is a 403 error. How can I get the delete at the model level to work?
Edit I have delete permissions to this model. It also occurs if the user deleting is the superuser.
I was not able to resolve this in a way that I wanted. I would have liked to keep the ability to delete from the overview page, but since it worked if I deleted an individual entry one at a time, I settled for this work around.
Add actions = None to the admin.py that contains this model. This removes the action drop down, preventing a user from selecting an option that will throw the 403 error.

Can't delete a "list" accidentally created from a "contact" in Sharepoint

A person with designer privileges in a Sharepoint site that I administer accidentally somehow created a list that is just her contact name with the little AD contact icon next to it.
When you click that list (her name), you get a 404 file not found.
I can't see any way to delete it from the available lists.
Try Site Settings > Site Administration:Site libraries and lists. If your list is shown, clicking the Customize link should take you to the List Settings page. You can then click Delete this list under Permissions and Management.
Have you tried using powershell?
http://spsherm.uptempoconsulting.com/2011/08/deleting-a-sharepoint-list-using-powershell/
Get a copy of SharePointManager to check to see what name/url the list was created with.
From what you say it may be that the list was created with characters that in the url or name that mean it malformed. You may have to go to the object model and script a delete statement using PowerShell.
But first you need to get more information on what the problem with the list is.