Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X
Hi , i have question about set permission
i want make some page that set or delete permissions each users
so i checked snippet and Thing's service then i found that
but i don't know how to set parameter
first SetThingpermission snippet's params
var params = {
entityName: undefined /* STRING */,
entityType: undefined /* STRING */,
permissions: undefined /* INFOTABLE */,
query: undefined /* QUERY */
};
entity name is thing ?
and what's the value into permissions?
Second AddDesignPermission that thing service
var params = {
principal: undefined /* STRING */,
allow: undefined /* BOOLEAN */,
type: undefined /* STRING */,
principalType: undefined /* STRING */
};
// no return
Things["AAA"].AddDesignTimePermission(params);
what's the value into principal and type and principalType ?
Thanks
Definition of AddDesignTimePermission
And please check SetEntityPermission details:
I hope it helps.
thank Ankit Gupta
i'll try with this detail parameter
and i hope too, i should solve this issue
but.. can i get detail parameters :permission ? //infotable
thanks
Hi seonho Cha,
You can use Permissions DataShape for defining the Permission InfoTable.
Hi Ankit Gupta
could you help me more detail please?
i want make service that set permission each users
so i must know parameter values
thanks