\SoapModelAccessTest_Comment
Everybody can view comments, logged in members in the "users" group can create comments, but only "editors" can edit or delete them.
Synopsis
class SoapModelAccessTest_Comment
extends DataObject
implements
PermissionProvider,TestOnly
{
- // members
- public static boolean $api_access = true;
- public static array $db = ;
- public static array $has_many = ;
- // methods
- public void providePermissions()
- public void canView()
- public void canEdit()
- public void canDelete()
- public void canCreate()
Hierarchy
Extends
- DataObject
Implements
- PermissionProvider
- TestOnly
Members
public
- $api_access
- $db
- $has_many