Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

xtk:javascript write access for non admin

Avatar

Avatar
Validate 10
MVP
MarcelSzimonisz
MVP

Likes

102 likes

Total Posts

224 posts

Correct Reply

56 solutions
Top badges earned
Validate 10
Validate 1
Shape 1
Boost 50
Boost 5
View profile

Avatar
Validate 10
MVP
MarcelSzimonisz
MVP

Likes

102 likes

Total Posts

224 posts

Correct Reply

56 solutions
Top badges earned
Validate 10
Validate 1
Shape 1
Boost 50
Boost 5
View profile
MarcelSzimonisz
MVP

09-12-2016

Hello All,

I want user to have rights to write xtk:javascript without being part of the Administrator group. I have tried to add named rights but with no luck what so ever 

 

Thank you in advance

Marcel

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

236 likes

Total Posts

1,109 posts

Correct Reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

236 likes

Total Posts

1,109 posts

Correct Reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile
florentlb
Level 10

12-12-2016

Hello Marcel,

You can allow specific users to read/write specific folders by adding them in the "security" tab of the folder properties, as described here. I'm not sure this method will work though. So to be sure, what you can do is add the ADMINISTRATION named right to that user. The user won't be added to the administrator group. For example, he will then be able to access the Administration > Configuration > JavaScript codes folder and create new elements.

Also, if you want to be able to create JS code in a workflow, you will need the Workflow named right.

Hope this helps,

Florent.

Answers (2)

Answers (2)

Avatar

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

236 likes

Total Posts

1,109 posts

Correct Reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile

Avatar
Give Back 50
Level 10
florentlb
Level 10

Likes

236 likes

Total Posts

1,109 posts

Correct Reply

239 solutions
Top badges earned
Give Back 50
Give Back 5
Give Back 3
Give Back 25
Give Back 200
View profile
florentlb
Level 10

12-12-2016

Indeed in xtk:javascript schema (under Administration > Configuration > Data schemas) we can see that write access is provided only to users that have the administration rights. That being said, users that have administration rights are not necessarily part of the administrator user group, but they can see everything within the application.

Let me know if you have other questions.

Florent.

Avatar

Avatar
Validate 10
MVP
MarcelSzimonisz
MVP

Likes

102 likes

Total Posts

224 posts

Correct Reply

56 solutions
Top badges earned
Validate 10
Validate 1
Shape 1
Boost 50
Boost 5
View profile

Avatar
Validate 10
MVP
MarcelSzimonisz
MVP

Likes

102 likes

Total Posts

224 posts

Correct Reply

56 solutions
Top badges earned
Validate 10
Validate 1
Shape 1
Boost 50
Boost 5
View profile
MarcelSzimonisz
MVP

12-12-2016

Hello Florent,

yes you can do it as described but the user won't see other folders eventhough you add other rights aswell. I think I will create user as administrator dedicated only to this task 🙂

 

Kind regards,

Marcel