ppazos / cabolabs-ehrserver

Open platform to manage and share standardized clinical data, designed by @ppazos at CaboLabs Health Informatics.
https://cabolabs.com
Apache License 2.0
179 stars 110 forks source link

Add taglibs and internal checks to verify for enabled features #964

Open ppazos opened 6 years ago

ppazos commented 6 years ago

Some features should be enabled or disabled depending on the cloud plan.

We need to be able to check if a feature is enabled for the current user, org and account on the web console, and display or hide the feature accordingly.

A second check level should be done in the correspondent controllers and services where the logic of that feature is defined. Because some features can be accessed from the API.

ppazos commented 5 years ago

We also have an option for features to appear or disappear using plugins, but this is not for cloud but to deploy on clients with specific licenses https://stackoverflow.com/questions/56173292/extending-the-gui-from-plugins-in-grails-3/56173405#56173405