Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
0.15
-
None
-
None
-
N/A
Description
I have a requirement from the omelette project. When a widget is imported into wookie, the same widget would also be made available in Rave without the need for further administration/approval.
The idea is...
1 A user imports a new W3C widget into Wookie.
2 Wookie then fires a POST event to a new service in Rave (sending the identifier of the new widget along with it)
3 If this service/feature is enabled in portal.properties (do 4 & 5), otherwise reject the request
4 Rave uses the new service to first get the metadata and do the usual checks on the widget (queries Wookie using the widget identifier)
5 Rave imports the W3C widget from Wookie and makes it available
To be able to add a new widget to Rave, there must be a User object available with [ROLE_USER] permissions. Because this is a request from another application, I propose to create a "System" user account on the fly, which would be then revoked once the request has completed. This feature would be disabled by default in portal.properties. The "System" user id would also be defined in portal.properties.
Also see WOOKIE-362.