openaire-library/connect/communityGuard
konstantina.galouni 71a4d35c43 [Trunk | Library]:
1. subscribe.service.ts: 
	a. Method "subscribeToCommunity()" renamed to "subscribeToCommunityByEmail()" and method "unSubscribeToCommunity()" renamed to "unSubscribeToCommunityByEmail()".
        b. Add methods: "getNumberOfCommunitySubscribers()", "subscribeToCommunity()", "unSubscribeToCommunity()".
	c. Method "isSubscribedToCommunity()": API changed to return true/ false without revealing users' emails (no processing needed here anymore).
	d. Methods: "isSubscribedToCommunity()", "subscribeToCommunity()", "unSubscribeToCommunity()" - DO NOT SEND user email, API will do the work via token ("X-XSRF-TOKEN" header).
2. connectSubscriber.guard.ts: Use new method "isSubscribedToCommunity()" without email parameter (subscribe.service).


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@58459 d315682c-612b-4755-9ff5-7f18f6832af3
2020-04-10 05:16:38 +00:00
..
communityError.module.ts Replace Meta service Import and use with Meta and Title from angular/platform-browser for communityErrorPage.component and communityError.module 2018-04-11 13:05:36 +00:00
communityErrorPage.component.ts [Trunk|Library]: connectCommunityGuard has been added it for check if type is community. Change community error page message 2019-03-07 15:43:54 +00:00
connectAdminLoginGuard.guard.ts [Library | Trunk]: Change getUserInfo to be suitable for guards too. 2019-12-23 15:09:17 +00:00
connectCommunityGuard.guard.ts [Library|Trunk] 2019-06-03 13:20:36 +00:00
connectRIGuard.guard.ts [Library|Trunk] 2019-06-03 13:20:36 +00:00
connectSubscriber.guard.ts [Trunk | Library]: 2020-04-10 05:16:38 +00:00
isCommunity.guard.ts [Library|Trunk] 2019-06-03 13:20:36 +00:00
isCommunityOrAdmin.ts [Library | Trunk]: Change getUserInfo to be suitable for guards too. 2019-12-23 15:09:17 +00:00