hello @Vishal_Lodhi
- The permissions should be given to only these two users and not other users.
we have the API that you can use to change the permission, for roles and users on the particular table. Or you can change the permission for the user on a particular object(record). The following documentation describes API for JAVA Permissions API - Backendless SDK for Android/Java API Documentation
We have no description for REST but you can use the following routes:
Permission for table
PUT /:appId/:apiKey/data/:tableName/permissions/:permissionType
Body:
{
"permission": <permission>,
"user":<objectId>
or
"role":<role-name>
}
In URL
:tableName
is you table name
:permissionType
can be GRANT
or DENY
In body
<permission>
one of the following operations:
ADD,
UPDATE,
FIND,
REMOVE,
DESCRIBE,
PERMISSION,
LOAD_RELATIONS,
ADD_RELATION,
DELETE_RELATION,
UPSERT
Instead of particular operation there can be *
which applies permission for all operations
The body should contain user
(object id) or role
(role name) property. If both present role
will be ignored.
Object Acl
Object Acl for several users
PUT /:appId/:apiKey/data/:tableName/permissions/:objectId/bulk
Body:
[
{
permission:<permission>,
permissionType: <GRANT|DENY>
userId:<object id of the user>
}
...
]
In URL
:tableName
is you table name
:objectId
is the object for which you will change the permission
In body:
<permission>
the same value as for previous
Object Acl for one user
PUT /:appId/:apiKey/data/:tableName/permissions/:permissionType/:objectId
Body:
{
"permission": <permission>,
"user":<objectId>
}
- Owner of the object will have edit access to all properties but 1
Owner policy can be applied only for all table. And there is no option to apply it for object or for column
- Related user should have view access to one set of properties and edit access for other set of properties.
As I sed before it is not possible to change visibility for some columns for particular object. Also, you can not deny access to related columns. But if you have no access to the record of the parent column you will not get access to related records