Skip to main content
New
Stack Overflow Jobs powered by Indeed: A job site that puts thousands of tech jobs at your fingertips (U.S. only). Search jobs

Questions tagged [permissions]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
3 votes
1 answer
40 views

Is it possible to silo Users and their Content absolutely by site?

We have multiple sites defined in Craft and we want content editors to only have visibility of things that are relevant to the one site they've been assigned to. I've set this up using a User Group ...
Karl Bishop's user avatar
1 vote
1 answer
31 views

Craft 3 / 4 CP: Restrict users to specific user groups in Users view

I need to restrict access to users (not entries) of say AdminGroupA to be able to access and manage users of UserGroupA in the Control Panel. Right now, the user AdminGroupA can browse all of the ...
biko's user avatar
  • 670
1 vote
1 answer
47 views

permission to access users only on specific user group

I would like to ask if there is a permission to view and edit the users on specific user group? or is there any plugin to do that? example: I have user groups called "Class 1" and "...
Jeriel Jacinto's user avatar
0 votes
1 answer
69 views

How to alter CP entry edit form

On an entry edit form I'd like to alter the options in a multiselect field to be user relative. Is there something like a form_alter hook?
ponies's user avatar
  • 387
1 vote
1 answer
99 views

What are the minimum permissions to show the Craft debug toolbar?

To help validate a process is in place, we would like to allow a tester to login and view the Craft debug toolbar to see the logs. Currently, we have given the tester Admin, but we would like to only ...
a_hardin's user avatar
  • 111
1 vote
1 answer
108 views

How to hide the assets section of the control panel to specific user groups?

I need to hide the assets section of the control panel to a given user group. Changing the group permissions to prevent them from viewing all asset volumes also prevents them from uploading assets in ...
nstCactus's user avatar
  • 1,149
1 vote
1 answer
102 views

Craft 2: Suspend user results in "Unauthorized You don’t have the proper credentials to access this page."

This pertains to a Craft v2.9.2 installation. User X is an admin user. So she has permission for pretty much everything, except accessing site settings, etc. For an unknown reason, User X is unable to ...
inspirednz's user avatar
3 votes
0 answers
696 views

Craft in Docker throws '/app/web/cpresources doesn’t exist or isn’t writable by PHP'

I'm trying to deploy a Dockerized Craft CMS website. The basic setup is as follows: craft running in Docker nginx running on the server, using proxy_pass to point to docker container The setup ...
idix's user avatar
  • 165
2 votes
1 answer
706 views

Folder Permissions denied with Nitro

I’m getting this error when accessing/writing images. It’s only just come along suddenly after one or a couple of updates. League\Flysystem\Exception Impossible to create the root directory "/...
Simon Clayson's user avatar
1 vote
0 answers
300 views

Forbidden exception

Our users when they log in they are unable to see their photos why can this be happening? They log in and the photos don't appear. 2020-11-25 20:08:04 [-][-][-][error][yii\web\HttpException:403] yii\...
Abaron's user avatar
  • 11
1 vote
1 answer
435 views

Permission error on session_start() after 3.5 upgrade

On my dev box, I have php/nginx running as 'jim'. I've followed the suggestions on permissions in the install docs. (744 since php is running as 'jim') I'm getting this error... PHP Warning – yii\base\...
Jim's user avatar
  • 139
3 votes
1 answer
251 views

Protecting public assets

I'd like to manage access to assets with public URLs. Is there a way to set permissions for anonymous users?
ponies's user avatar
  • 387
1 vote
0 answers
66 views

Assign user to group available even though not allowed? (Craft v3)

Working my way through the CMS to learn in more detail I'm currently at the users / permissions parts of the CMS. Here I just bumped into the following thing I don't understand: I have a Users Group ...
Friksel's user avatar
  • 180
2 votes
0 answers
109 views

Restricting entry editing in the admin section

We have custom permission setup where we have certain admins that are only allowed to edit specific entries. This is done by modifying the entries sources: Event::on( Entry::class, Element::...
Uros Jankovic's user avatar
1 vote
1 answer
126 views

Directories and files being created by "root" user, inaccessible to CMS

I'm new to Craft and have been asked to support a live site that is running on it. I've run into a problem that seems to be due to files on the server being created by the wrong user. The vast ...
EpF's user avatar
  • 11
1 vote
3 answers
1k views

Restrict viewing front end to specific group permissions

How can I restrict content frontend to specific user groups? There seems no sensible way to do this out of the box. For example group permissions in CP are all about CP - there is no view option. ...
joomkit's user avatar
  • 2,024
1 vote
2 answers
357 views

“Access Plugin” doesn't appear in Permissions list

Non-admin users are not able to access my plugin in the CP. With admin rights, everything is fine—the templates are accessible, but all the other users are getting 403. I've tried to build the plugin ...
peet86's user avatar
  • 41
2 votes
1 answer
46 views

Permission for "Send an activation email now?" Option

So it looks like site admins have the ability to choose whether or not to send a new user an Activation Email through the "Send an activation email now?" checkbox option on the Register a new user ...
Palmtree Studios's user avatar
1 vote
2 answers
1k views

Craft on WSL permissions error

For anyone installing install Craft on WSL (Windows Services for Linux)... WSL has enough traction with developers that I decided to take the dive, but I'm having trouble getting permissions straight ...
Jim's user avatar
  • 139
1 vote
1 answer
483 views

New Install, Permission Errors With /storage

I've configured Apache vHosts on a local box and installed a Craft 3 website onto it. This new instance will serve as my "staging" environment for an upcoming website. I've installed with composer ...
Palmtree Studios's user avatar
0 votes
1 answer
52 views

Is there an easy way to reset user permissions back to usergroup settings?

Is it a matter of clearing the userpermissions_users table? Background: After initial authoring, we've cleaned up permissions for our usergroups, but the existing users have accumulated manually-...
Carmela S's user avatar
2 votes
1 answer
3k views

Upload failed, fopen – failed to open stream: Permission denied

When trying to add assets in the live admin I get the following error: Upload failed. The error message was: “fopen(assets/images/general/IMG-2483_190715_161352.jpeg): failed to open stream: ...
Allan's user avatar
  • 41
1 vote
1 answer
206 views

Restricting access to user groups with Control Panel access only

I know I can restrict template output to Admins only with : {% if currentUser.admin ?? false %} …and to any logged in user with: {% if currentUser ?? false %} And I’m aware of accessCp as a ...
Jonathan Schofield's user avatar
1 vote
1 answer
95 views

Uploaded Assets always get 600 File Permission and are therefore not displayed (403 Error)

After a fresh manual Craft CMS install everything runs fine, except uploading Assets. Well, the uploading part works fine but uploaded assets always just get file permissions of 600 (adfrw) Group and ...
Rattikarl's user avatar
  • 393
1 vote
2 answers
350 views

Multiple authors for an entry

The website I'm currently working on is a plattform where several 'subgroups' can post events but also have their own subpage. So the two affected secrions are 'event' and 'subgroup'. Currently, every ...
obs's user avatar
  • 541
1 vote
1 answer
108 views

RequirePermission not working

I'm using the requirePermission tag in the templates for my Craft multisite. I only want users who have access to 'edit' that site be able to view it. My code is: {% requirePermission('editSite: (...
Aron15's user avatar
  • 35
1 vote
1 answer
315 views

Error: File to import not found or unreadable: ../../../../../lib/craftcms-sass/mixins

I have two Craft websites running locally and they both have broken css on the backend due to the error below. Every time I update it is temporarily fixed but after a few clicks or refreshes it's back ...
Mathijs's user avatar
  • 21
1 vote
1 answer
190 views

Restrict a users permission to only edit 'translatable' fields on a specific site?

We would like to have a 'translators' user group, where the members can edit only the 'translatable' fields, but not the non translatable things (images, categories etc). May be i missed something, ...
user avatar
1 vote
1 answer
51 views

Revoke user permissions but not change the usergroup

I have a client who would like to edit a users permissions. However instead of adding permissions on a per user basis, they would like to remove permissions for that user by unchecking the item. ...
CreateSean's user avatar
  • 1,973
2 votes
1 answer
202 views

Any reason why {% requirePermission 'editEntries:1' %} would stop working within the past week or so?

This worked fine last week when the site was in development: {% requirePermission 'editEntries:1' %} We made the site live a few days ago. I dont know if its related, but when I now go to pages with ...
Laurence Cope's user avatar
1 vote
1 answer
401 views

Editing User Email Address

I created a user group that has full permissions for User options in the CP, i.e. all the boxed ticked. However, they are not able to edit a user's email address. When changing the email field and ...
Roi Agneta's user avatar
  • 1,463
2 votes
1 answer
290 views

Checking permission for editing entries from inside template

How do I check permission for editing entries belonging to a specific section? When I try {{currentUser.can('editEntries:'~entry.sectionId) }}, it returns false - and I am sure that currentUser can ...
Piotr Pogorzelski's user avatar
1 vote
1 answer
201 views

How would one allow users to edit only some other users entries but not all? Linked via a related field

I have users that are assigned to an organisation. An organisation can have many users. I would like users within the same organisation to be able edit entries (in this case projects) created by a "...
Laurence Cope's user avatar
1 vote
1 answer
104 views

Can I use Craft to Manage Site Access?

User Access Question... Can I use Craft to create users that can only use the site? These users would only be viewers of the content. They would NOT have access to Craft or any of its features. ...
Hellyar's user avatar
  • 921
1 vote
1 answer
118 views

Permissions needed to "edit image"?

What permissions do users need in order to access the "edit image" menu in assets? Some users can't access this, but I can't see a specific permission for this listed under: Settings > Users > User ...
Adam George's user avatar
1 vote
2 answers
46 views

Individual Content dripping per user

I am building a site where I need to give each individual user access to site content according to the user progression of content consuming. For the example, User A has access to watch entry no.1, ...
LessMore Creative Studio's user avatar
0 votes
0 answers
970 views

Craft 3 admin panel only accessible when web/cpresources is exectuable for everyone

I’m trying to move a local Craft 3 site to a local server (hosted on 1&1). The website itself runs fine, but for some reason I can only access the admin panel when the web/cpresources folder has ...
KSP's user avatar
  • 849
4 votes
2 answers
950 views

Restrict Permissions Per Entry Rather Than Per Section

Working in Craft 3, I have a requirement to restrict user access (in the CP) per Entry rather than per Section. In this case Users in Craft will belong to Department (Channel) and Resources (Channel)...
Ian Young's user avatar
  • 584
1 vote
0 answers
28 views

Section permissions are ignored when linking to an entry

Users with permissions to limited sections can still “link to an entry” in any section from within the WYSIWYG (Redactor) editor. I'm using Craft 2 with a Rich Text (Redactor) field. Is this a bug ...
Mario Vasquez's user avatar
2 votes
1 answer
461 views

What is the typical owner:group for Craft files and folders?

Using cpanel, apache. All requirements are met for Craft. On a typical default set up I believe that the public_html is user:nobody. What should the ../craft folder owner and group be? With what ...
Eric Snyder's user avatar
3 votes
1 answer
604 views

Can Auth0 be used for Craft Commerce user accounts?

I want to use Auth0 to provide a Single Sign On (SSO) for a couple of services I am integrating, one of which is Craft Commerce user accounts. Does Craft Commerce allow something like Auth0 for ...
Bo Bartlett's user avatar
2 votes
1 answer
1k views

Output Checkbox Data on Template

If you have a checkbox field on an entry type, how do you display all the selected values for an entry in a template with twig? Using this for page permissions via user groups. We have a plugin that ...
Max's user avatar
  • 21
0 votes
0 answers
44 views

Charge Plugin - Subscribers have access to the Control Panel and any other subscribers personal information

We bought the Charge Plugin and got it up and running for a subscription service and the website has just gone live. We just realised any new user (subscriber) has access to all other users details ...
Martin's user avatar
  • 1,203
3 votes
1 answer
540 views

Permissions at field level. Can this be done?

I have a public registration form process which assigns a specific group/permissions 'eventeer' to a user. This user can then login and can enter/edit information in a 'shared' section. 'Shared' ...
treetop55's user avatar
  • 103
1 vote
1 answer
367 views

Restict admin user permissions to only editing users he/she has created.

I'm thinking about building an app with Craft that requires users from a specific user group (Business User Usergroup) to be able to log in on the frontend and add users from another user group (...
Gįëł Tėttëłæår's user avatar
1 vote
0 answers
375 views

For asset uploads, where should the 'temporary path" be created?

I just moved my Craft CMS site to production (MediaTemple DV) and I can't upload images to my asset sources. I get this error: Error uploading the file: there was a problem creating the temporary ...
David Rhoden's user avatar
1 vote
1 answer
222 views

Craft Folder Error

I switched from Apache to Nginx. When I did that the Craft folder that was outside of the web root no longer was recognized. Checked around, dug into my .conf files and spent a boatload on this ...
Vin's user avatar
  • 383
1 vote
2 answers
857 views

{% block content %} is a no-go in template/subfolders

I’m on a mac running MAMP and my install is functional. Localhost will direct to and display files in “templates” but it wont fully cooperate with subfolders within templates, such as templates/news. ...
Thomas's user avatar
  • 31
1 vote
1 answer
200 views

Save user group event in Control panel

I have a plugin that saves users into a registration group like: if (craft()->request->isSiteRequest()) { //etc $groupId = '1'; craft()->userGroups->assignUserToGroups($user->...
joomkit's user avatar
  • 2,024
1 vote
1 answer
1k views

Running into permission issues using Vagrant on Ubuntu

I am having issues running CraftCMS in a vagrant environment. For reference: I am using ubuntu 17.04 Vagrant version 1.9.5 ubuntu/xenial64 (virtualbox, 20170525.0.0) Relevant initial ...
user avatar