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   1777 Views

Avatar
JGC

Community Member, 25 Posts

5 November 2008 at 11:18pm

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

Community Member, 25 Posts

11 November 2008 at 3:41am

Anyone? Still struggling with this.

Avatar
Ingo

Forum Moderator, 801 Posts

29 November 2008 at 8:11pm

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