Setting roles and permissions for Sunshine custom objects

Return to top

5 Comments

  • Robert Cwicinski

    Hi there,

    one question regarding allowing end users to access custom objects...
     
    How is it handled that end-users can only access their "own" data?
    Is the object-relation between custom object and user taken into account here?

    I.e. we want to enable an end user to change his "preferred_car":

    Custom object: "preferred_car"
    Permission-Agent: CRUD
    Permission-EndUser:  read+update only
    Relation 1to1 (zen:User -> "preferred car")

    • The agent has an custom app in the ticket sidebar to add a record.
    • Agent adds record+detail i.e. "Porsche" because the end-user told so via phone. 
    • End user now logs into Guide
    • Show details about "preferred car" in helpcenter when authenticated

    Thanks a lot

    0
  • Greg Katechis
    Zendesk Developer Advocacy

    Hi Robert Cwicinski! What I think you're asking is how/if we are allowing end users to update their records and only their records. If that is correct, you did identify the steps that you need to take...you first create the relationship schema (with the source/target being `zen:user`), then modify the permissions for RU. Since each object created with that relationship must be tied to a user, there will always have to be someone associated with that particular record.

    If I misunderstood or you need any further clarification, drop me a line here!

    0
  • Kimberly Coats

    Who are you people and why are you taking over my life!

    0
  • Kimberly Coats

    Zendesk is controlling my email what in the heck and who in the heck are you people! Who is my admin? What organization! Help!

    0
  • Dave Dyson
    Zendesk Community Manager
    Hi Kimberly,
     
    Zendesk makes software that companies use to give their customers a way to contact them. Can you let us know what emails you're receiving from us? If you're on one of our email lists, we'll be happy to remove you. It may also be that you're receiving emails from the support team of one of our customers.
     
     
     
    0

Please sign in to leave a comment.

Powered by Zendesk