Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Permissions on TableListField


Reply

3 Posts   1769 Views

Avatar
JGC

5 November 2008 at 11:18pm Community Member, 25 Posts

Hi again.

I'm trying to set permissions on a TableListField object;

      $caseTLF->setPermissions(array(
         'show',
         'edit',
         'delete',
         'export'
      ));

But the only ones it's paying any attention to are Delete and Export. I know Add, Show and Edit are the other 3 permissions, but how do you set them so they work?

Thanks.

Avatar
JGC

11 November 2008 at 3:41am Community Member, 25 Posts

Anyone? Still struggling with this.

Avatar
Ingo

29 November 2008 at 8:11pm Forum Moderator, 801 Posts

"add", "show" and "edit" are specific to ComplexTableField, not TableListField.
Is "delete" not working for you on a TableListField instance?