openaire-library/connect/communityGuard
konstantina.galouni 0a1576d618 [Trunk | Library]:
1. community.service.ts: 
	a. Add BehaviorSubject for community.
	b. Method "isCommunityManager" replaced by "isCommunityManagerByState" (filtering applied in community stored in BehaviorSubject).
        c. Method "isRIType" replaced by "isRITypeByState" (filtering applied in community stored in BehaviorSubject).
        d. Method "isCommunityType" replaced by "isCommunityTypeByState" (filtering applied in community stored in BehaviorSubject).
2. connectAdminLoginGuard.guard.ts: 
	a. Get properties from environment (no service needed).
	b. Call method "isCommunityManagerByState" of CommunityService.
	c. Add "canDeactivate" method to unsubscribe (TODO: call method from routing modules).
3. connectCommunityGuard.guard.ts: 
        a. Get properties from environment (no service needed).
        b. Call method "isCommunityTypeByState" of CommunityService.
        c. Add "canDeactivate" method to unsubscribe (TODO: call method from routing modules).
4. connectRIGuard.guard.ts:
        a. Get properties from environment (no service needed).
        b. Call method "isRITypeByState" of CommunityService.
        c. Add "canDeactivate" method to unsubscribe (TODO: call method from routing modules).
5. isRouteEnabled.guard.ts: Add "canDeactivate" method to unsubscribe (TODO: call method from routing modules).
6. curator.service.ts: [Undo change of r59073] Use "useCache" property, not "useLongCache" for curators.


git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@59140 d315682c-612b-4755-9ff5-7f18f6832af3
2020-07-16 23:08:10 +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 [Trunk | Library]: 2020-07-16 23:08:10 +00:00
connectCommunityGuard.guard.ts [Trunk | Library]: 2020-07-16 23:08:10 +00:00
connectRIGuard.guard.ts [Trunk | Library]: 2020-07-16 23:08:10 +00:00
connectSubscriber.guard.ts [Library | Trunk]: Revert parameter to user Info back 2020-07-02 15:02:14 +00:00
isCommunity.guard.ts [Library|Trunk] 2019-06-03 13:20:36 +00:00
isCommunityOrAdmin.ts [Library | Trunk]: Revert parameter to user Info back 2020-07-02 15:02:14 +00:00