STORE-165

The get permissions are no longer changed in the scxml.

The assets are filtered based on life-cycle state and assigned roles.

Each asset has a permissions block defined in the extension file.If the permissions block is not present then the asset type is not filtered and anyone can view the details.

Changed:
- The asset and assets controller has been changed to accomodate the filtering
- The api has been changed to accomdate the filtering