allowed to add new relative records
3 posts
• Page 1 of 1
allowed to add new relative recordsIs possible to add new relative records when permission on parent record is Dataface_PermissionsTool::READ_ONLY()?
The READ_ONLY role does not allow adding new related records, but this doesn't mean that you can't explicitly allow your user to add new related records.
The easiest (but not necessarily best) way to handle this is just to add the 'add new related record' permission in your getPermissions() method. But beware that this will enable the user to add related records to all relationships of this record. e.g.
(Check the dataface permissions.ini file to see what permissions are available and which roles have which permissions). -Steve
3 posts
• Page 1 of 1
Who is onlineUsers browsing this forum: No registered users and 25 guests |