Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ARSnova Backend
Manage
Activity
Members
Labels
Plan
Issues
27
Issue boards
Milestones
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Privacy
Imprint
Contact
Snippets
Groups
Projects
Show more breadcrumbs
ARSnova
ARSnova Backend
Commits
d275fd51
There was a problem fetching the pipeline stages.
Commit
d275fd51
authored
8 years ago
by
Daniel Gerhardt
Browse files
Options
Downloads
Plain Diff
Merge branch '2.4'
parents
f52814df
d8360774
No related merge requests found
Pipeline
#7706
passed with stages
in 5 minutes and 30 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/de/thm/arsnova/controller/LoginController.java
+1
-1
1 addition, 1 deletion
src/main/java/de/thm/arsnova/controller/LoginController.java
src/main/java/de/thm/arsnova/services/SessionService.java
+1
-1
1 addition, 1 deletion
src/main/java/de/thm/arsnova/services/SessionService.java
with
2 additions
and
2 deletions
src/main/java/de/thm/arsnova/controller/LoginController.java
+
1
−
1
View file @
d275fd51
...
...
@@ -106,7 +106,7 @@ public class LoginController extends AbstractController {
@Value
(
"${security.cas.order}"
)
private
int
casOrder
;
@Value
(
"${security.facebook.enabled}"
)
private
boolean
facebookEnabled
;
@Value
(
"${security.facebook.
enabl
ed-roles:speaker,student}"
)
private
String
[]
facebookRoles
;
@Value
(
"${security.facebook.
allow
ed-roles:speaker,student}"
)
private
String
[]
facebookRoles
;
@Value
(
"${security.facebook.order}"
)
private
int
facebookOrder
;
@Value
(
"${security.google.enabled}"
)
private
boolean
googleEnabled
;
...
...
This diff is collapsed.
Click to expand it.
src/main/java/de/thm/arsnova/services/SessionService.java
+
1
−
1
View file @
d275fd51
...
...
@@ -212,7 +212,7 @@ public class SessionService implements ISessionService, ApplicationEventPublishe
}
if
(
connectorClient
!=
null
&&
session
.
isCourseSession
())
{
final
String
courseid
=
session
.
getCourseId
();
if
(!
connectorClient
.
getMembership
(
user
Service
.
getCurrentUser
()
.
getUsername
(),
courseid
).
isMember
())
{
if
(!
connectorClient
.
getMembership
(
user
.
getUsername
(),
courseid
).
isMember
())
{
throw
new
ForbiddenException
();
}
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment