adf-sites-dropdown - Can view sites that user is not a member of.
Just getting upto speed with some of the controls and I've used the adf-sites-dropdown as follows but it always shows all the sites available rather than just the ones that the current user is a member of.
I am testing against a SDK 3.1.0 repo project that I've run from the command line to use as the repository as an interim test (Alfresco 5.2.f). ADF 4.0 & 4.1.
Thanks for the input, I've tried to use it in the same way as demonstrated in the alfresco-ng2-components demo shell application. Under the "Content Services" option it opens up a Document List (with full header etc.) and it seems to re-populate as expected when the site drop-down's option is changed.
Even under the demo shell application the same thing appears to happen, log in with a lower permission user that is not part of some of the sites and all of them are still displayed in the drop-down. The example I used was the files.component.html . I did try it in my own test application with both "'members'" (as per the demo shell) and "members" (quotes if not visible).
I have just noticed however that my limited user cannot upload files as he doesn't have permissions (detailed in the upload dialog boxafter dragging and dropping). So maybe all sites are actually visible to all users by default, it's maybe just actions that are disabled if you're not a member.
The 'copy to' dialog that you mention also exhibits the same issue and again only allows copying to sites that the user is a member of. The other sites' folders are navigable but not selectable as a valide destination.