Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
95b9fa4e
Commit
95b9fa4e
authored
7 years ago
by
srosse
Browse files
Options
Downloads
Plain Diff
Merge OpenOLAT 12.1 to OpenOLAT default branch with 2444238217db3f0013c8c5240dc97d4b0e25424e
parents
9cedcb50
07ab64e7
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/olat/user/UserInfoMainController.java
+2
-3
2 additions, 3 deletions
src/main/java/org/olat/user/UserInfoMainController.java
with
2 additions
and
3 deletions
src/main/java/org/olat/user/UserInfoMainController.java
+
2
−
3
View file @
95b9fa4e
...
...
@@ -333,7 +333,7 @@ public class UserInfoMainController extends MainLayoutBasicController implements
}
calendarWrapper
.
setPrivateEventsVisible
(
chosenIdentity
.
equals
(
ureq
.
getIdentity
()));
if
(
ureq
.
getUserSession
().
getRoles
().
isOLATAdmin
()
||
chosenIdentity
.
equals
(
ureq
.
getIdentity
()))
{
if
(
chosenIdentity
.
equals
(
ureq
.
getIdentity
()))
{
calendarWrapper
.
setAccess
(
KalendarRenderWrapper
.
ACCESS_READ_WRITE
);
}
else
{
calendarWrapper
.
setAccess
(
KalendarRenderWrapper
.
ACCESS_READ_ONLY
);
...
...
@@ -355,8 +355,7 @@ public class UserInfoMainController extends MainLayoutBasicController implements
String
chosenUserFolderRelPath
=
FolderConfig
.
getUserHome
(
chosenIdentity
.
getName
())
+
"/public"
;
OlatRootFolderImpl
rootFolder
=
new
OlatRootFolderImpl
(
chosenUserFolderRelPath
,
null
);
String
rootFolderName
=
StringHelper
.
escapeHtml
(
firstLastName
);
OlatNamedContainerImpl
namedFolder
=
new
OlatNamedContainerImpl
(
rootFolderName
,
rootFolder
);
OlatNamedContainerImpl
namedFolder
=
new
OlatNamedContainerImpl
(
firstLastName
,
rootFolder
);
//decided in plenum to have read only view in the personal visiting card, even for admin
VFSSecurityCallback
secCallback
=
new
ReadOnlyCallback
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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