1 Reply Latest reply on Sep 15, 2009 6:05 AM by ninja

    access privilege -- only delete a record that user created.

    firth5

      Title

      access privilege -- only delete a record that user created.

      Post

      Looks like the following is possible.  Please confirm.

       

      I want to create an access privilege so that a user can only delete a record that he/she created.

       

      Looks like in the "Custom Record Privileges" window, I would set the DELETE to "limited" and the calculation to:

       

      Records can be deleted when:

      AccountName (field) = Get(AccountName) 

        • 1. Re: access privilege -- only delete a record that user created.
          ninja
            

          Looks right to me...make some dummy accounts and play with it to be sure.

           

          I've had some issues with the order of the condition, but never remember which order is "right".

           

          AccountName (field) = Get(AccountName)

          may not work, but

          Get(AccountName) = AccountName (field)

          might...

           

          not sure why and wasn't in the mood to find out at the time.  Explanations as to why would be welcome...but in the end not required.

           

          Enjoy the day!