Skip to main content

Notifications

Power Automate - Building Flows
Answered

prevent users from deleting sharepoint calendar list item if the logged user is not the organizer or creator

Posted on by

How can I prevent users from deleting sharepoint calendar list item, if the logged user is not the organizer or creator of the item? i need to prevent deletion items only if the logged user is the item creator

  • jdanielhdezr Profile Picture
    jdanielhdezr on at
    Re: prevent users from deleting sharepoint calendar list item if the logged user is not the organizer or creator

    @ekarim2020 You gave me the solution to the problem. the original requirement was that the event creator, his or her direct superior, or her subordinates could edit or delete the event created by that person. Your idea served as a base and I was able to create the flow and put it to production using the "get manager" and "get subordinates" functions. thanks a lot

  • Verified answer
    EKarim Profile Picture
    EKarim 10,232 on at
    Re: prevent users from deleting sharepoint calendar list item if the logged user is not the organizer or creator

    Hi @jdanielhdezr ,

     

    If I understand correctly:

     

    You want to prevent users from deleting a SharePoint calendar list item, specifically when the logged-in user is not the item's organizer or creator. You want to limit item deletion exclusively to the user who originally created it. And "organizer" being the person who scheduled or created the calendar event. This "organizer" would be a SharePoint column that you created for this list, as there is no built-in organizer column (i.e. Creator and Organizer are different people, so are different SharePoint columns).

     

    Here are two suggestions you can try:

     

    (1) Change the Advanced settings so that only the Creator can edit the calendar items they have created, everyone else can view (i.e. Read):

    Snag_e1a97b4.png

    Snag_e193575.png

    Snag_e165e49.png

     

    (2) Grant Edit access to the Calendar item to the organizer when a new item is created

    ekarim2020_1-1689407483638.png

     

    (However, if the organizer is later changed, the flow will need to use a different trigger (when an item is created or modified) and check if the organizer was changed. But this is more complex and a bit more work).


    Ellis
    ____________________________________
    If I have answered your question, please mark the post as ☑️ Solved.
    If you like my response, please give it a Thumbs Up.
    My Blog Site

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,297

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,890

Leaderboard