Skip to content

Commit c114766

Browse files
Merge pull request #5670 from topcoder-platform/feature/topgear-profile-redirect
feature(profile): redirect between private community and public community profile page
2 parents e7cfd03 + 75019af commit c114766

File tree

10 files changed

+5427
-5346
lines changed

10 files changed

+5427
-5346
lines changed

.circleci/config.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,7 @@ workflows:
342342
filters:
343343
branches:
344344
only:
345-
- develop
346-
- fix-challenge-end-date
345+
- feature/topgear-profile-redirect
347346
# This is alternate dev env for parallel testing
348347
- "build-test":
349348
context : org-global

config/default.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,11 @@ module.exports = {
160160
COMMUNITY_APP_GITHUB_ISSUES: 'https://github.com/topcoder-platform/community-app/issues',
161161
EMAIL_VERIFY_URL: 'http://www.topcoder-dev.com/settings/account/changeEmail',
162162
ABANDONMENT_EMBED: 'https://43d132d5dbff47c59d9d53ad448f93c2.js.ubembed.com',
163+
// If a logged in user is a member of any of these groups, when they land on
164+
// their profile page (members/:handle), they'll be redirected to the "userProfile" url
165+
SUBDOMAIN_PROFILE_CONFIG: [{
166+
groupId: '20000000', communityId: 'wipro', communityName: 'topgear', userProfile: 'https://topgear-app.wipro.com/user-details',
167+
}],
163168
},
164169

165170
/* Information about Topcoder user groups can be cached in various places.

0 commit comments

Comments
 (0)