Hi! On Fri, Oct 30, 2015 at 2:47 PM, Pablo Fernández Moniz < pablofernandezmoniz at gmail.com> wrote: > Hi! > > We are trying to display different restaurant info for each user. At this > moment, we can filter using reviews and reservations for each one. But, if > we try to show restaurants filtering by the user's organization, we find > that all users (from user0 to user9) have an empty array in the > organizations field. > > We inspect the restaurant, and detect some organizations like Franchise1 > or Franchise2. We look up for them in IDM but they don't exist. > That's true. We've been doing several changes but we did not update the default provision yet. We've added "Franchise1-4" for the tests, in order to have like 4 different franchises, and this should be added also the default provision. > We also have seen that all users have only one role and they are the same: > "Restaurant Viewer". > All but 'user0' and 'user1' (as I remember) have the role "Restaurant Viewer". There will be 3 roles to implement: Global Manager, Franchise Manager and End Users (or restaurant viewers). I still have to invest a bit of time on thinking how to design the proxy for protecting the resources. > For now, we are hardcoding our test assuming that all users are in the > "Franchise2" organization, and showing all options if the user has the role > "Restaurant Viewer". > > We suppose that these missing features are not implemented yet by the user > feeder. > > Is that right? > Yes! Actually the missing fields are regarding IdM and the provision file: keystone_provision.py <https://github.com/Bitergia/fiware-devguide-app/blob/master/docker/images/fiware-devguide-app/keystone_provision.py> I'll take note of everything. Thanks!! Best, Alberto Martín -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-developer-experience/attachments/20151030/f7be5829/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy