Hi Harshan,

I just created the account in the register link. I can’t select the role by 
myself. In the previous IoTS version, the server will provide a default role 
(maybe devicemgt-user) to the new registered user but not in IoTS 3.0.0.

I need to manually create a new role and assign the user to the role with admin 
user so that the new user can enroll new device.


------
Zhanwen Zhou (Jason)
+86 13922218435
[email protected]
Guangzhou Smart Cloudex Technology Co., Ltd.
Business: IOT, API

在 2017年3月9日,下午6:15,Harshan Liyanage <[email protected]> 写道:

> Hi Zhanwen,
> 
> If the user created at first doesn't have the required permissions to enroll 
> a device, the UI won't show up the "Enroll new device" button in the UI. If 
> that's the case it's the expected behaviour. But if the user has all the 
> required permissions then there's a problem. Could you please tell us what 
> permissions were given to the new role (which did not had in the beginning)?
> 
> Thanks,
> 
> Harshan Liyanage
> EMM/IoT TG
> Mobile: +94765672894
> Email: [email protected] 
> Blog : http://harshanliyanage.blogspot.com/
> WSO2, Inc. : wso2.com
> lean.enterprise.middleware.
> 
> On Thu, Mar 9, 2017 at 2:36 PM, 云展智创 <[email protected]> wrote:
> Hi team,
> 
> I deployed the WSO2 IOT pack plugins and started the IoTS server 
> successfully. But I could not enroll new device with the new created account 
> and got the following errors in the backend server:
> 
> <PastedGraphic-2.png>
> 
> I tried to use IP instead of localhost but the URL will redirect to 
> localhost:9443 and got the same error. I couldn’t find the “Enroll new 
> device” button below.
> <PastedGraphic-1.png>
> 
> But after I created a new role with necessary permissions and assigned the 
> above user to that role, then I could enroll a new device with that user. Is 
> that right?
> 
> ------
> Zhanwen Zhou (Jason)
> +86 13922218435
> [email protected]
> Guangzhou Smart Cloudex Technology Co., Ltd.
> Business: IOT, API
> 
> 
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
> 
> 

_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to