Hi Manu,

When creating a dashboard while logged in as a tenant, we come across [1].
This is because there are no layout defintion files exist in the tenant's
layout directory. But this works perfect for the super tenant scenario.

There is a possibility to share super tenant's entire store with other
tenants by setting "shareStore=true" in the designer.json. But that is not
always recommended.

There are few suggestions to fix this.

1. Maintain a default set of layout files and copy them into new tenant's
layout directory once a tenant is created.
2. After logged into dashboard, copy default layouts into current tenant's
layout directory if they do not exist.
3. Give the user an option to upload layouts files via UI.

So which approach do you recommend? Please advise.

[1] https://wso2.org/jira/browse/DAS-94


Regards,

Dunith Dhanushka,
Senior Software Engineer
WSO2 Inc,

Mobile - +94 71 8615744
Blog - dunithd.wordpress.com <http://blog.dunith.com>
Twitter - @dunithd <http://twitter.com/dunithd>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to