Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [permissions]

The tag has no usage guidance.

1
vote
1answer
17 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. ...
1
vote
1answer
24 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 ...
1
vote
1answer
23 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 ...
0
votes
1answer
40 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 ...
1
vote
1answer
11 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 "...
1
vote
1answer
24 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. ...
1
vote
1answer
26 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 ...
1
vote
2answers
28 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, ...
0
votes
0answers
105 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 ...
0
votes
0answers
33 views

Permissions by Group - beyond standard? [duplicate]

So many questions... I see that there are user groups that I can create to group users together with. If a user is a member of a particular group I want them to essentially be able to act as the same ...
4
votes
2answers
230 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)...
1
vote
0answers
12 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 ...
1
vote
1answer
106 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 ...
0
votes
0answers
21 views

Record level permission handling

Is there any record level permission handling in craft? So if I have different groups, and I would like to give the group access only the records which is belongs to groups? Guess this is not ...
2
votes
1answer
159 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 ...
2
votes
1answer
110 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 ...
0
votes
0answers
43 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 ...
3
votes
1answer
179 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' ...
1
vote
1answer
124 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 (...
1
vote
0answers
159 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 ...
1
vote
1answer
99 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 ...
1
vote
2answers
310 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. ...
1
vote
1answer
111 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->...
1
vote
1answer
447 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 ...
1
vote
1answer
46 views

Non-admins not authorized to create entry via frontend

I'm currently working on a page that should allow registered users to upload an image and save it as an entry in a section called "bildupload", together with some additional fields. Creating/saving ...
2
votes
1answer
40 views

limiting profiles to user groups

Can profile fields be limited to user groups in backend? It seems that if you want required front end fields for users registering then admins in backend have to have these as compulsory when creating ...
1
vote
1answer
318 views

Updated the PHP on server. Getting this error: Please ensure that $craftPath is set correctly

I am running Amazon Ec2 instance and tried updating the PHP on the site using this guide: http://brianshim.com/webtricks/update-amazon-ami-php5-3-to-php5-4/ And now this is the error I am receiving: ...
2
votes
0answers
68 views

Assigning category permissions to users

Is there a way to assign category permissions to users so that they can only view/edit those categories? I am currently looking at the following getEditableSections(), however, it's displaying all ...
2
votes
1answer
50 views

Is it possible to grant admin permissions via plugins through userPermissions->saveUserPermissions?

I'd like to add admin privileges to a user I'm creating like so: if($user == null) { $firstName = $_GET['firstName']; $lastName = $_GET['lastName']; $userName = $firstName . $...
2
votes
1answer
181 views

Setting up Craft on Linode Using Ubuntu

I'm setting up a Craft site on a Linode server has anyone had any experience with this? I'm struggling with which owner and user to set the var/www/html folder to with chown and what chmod settings to ...
0
votes
0answers
593 views

Issue uploading files

I have completed a website for a school who can't upload files when in school. When they upload a file the status bar loads the full way across the screen but at the top right it just keeps spinning. ...
0
votes
1answer
72 views

Override permissions for Craft Commerce saveProduct controller

I'm creating products using a frontend form which submits to commerce/products/saveProduct but it only works when I'm logged-in. They're really complicated products which need to be created on-the-fly....
2
votes
1answer
105 views

How can I separate assign user groups and permissions for users?

I've been here before Users allocating permissions beyond their own and the only solution offered was to vote for it as a feature request, which I did. But after 7 months there have only been 10 votes ...
3
votes
1answer
104 views

What do some Craft permissions mean?

I'm documenting Craft permissions for internal use but there are some permissions that I'm not clear on. "Access the site when the system is off" What system? "Publish live changes" How can you do ...
1
vote
1answer
352 views

Entry publishing workflow

I am considering using Craft to develop a website for a client. One of the requirements is that members have access tot he backend to edit a single entry. Here is the use case: entry is created ...
4
votes
1answer
311 views

Allow a User Group to access plugin pages (without hasCpSection)

I'm facing a problem which, on the surface, seems similar to this thread... Like that other thread, I've found that a specific user group is unable to access my plugin's pages because the plugin is ...
1
vote
1answer
108 views

permissions userphotos “an unknown error occurred”

On my production server, each time I try to change or upload a user photo I get the "an unknown error occurred" message. If I check the logs, the error says it couldn't delete the folder of the ...
1
vote
1answer
61 views

Group specific entry from section

Can this be done? I have a section called Bookings. I have 2 user groups A and B. I would like both groups to have access to the section (bookings) but for some of the entries in the section, I would ...
5
votes
2answers
586 views

User permissions on a per-entry basis?

I have a Structure section that contains most of the pages on my website. We have users that need to edit only some of those pages. Since permissions are set on a per-section basis, right now they ...
3
votes
1answer
56 views

Is there any way to set enable by default a permission on the registerUserPermissions hook?

When I create a permission using the registerUserPermissions hook I would like everyone, in all user groups have access to that permission. An admin has to take an explicit step to restrict access to ...
0
votes
0answers
604 views

Folder Permissions for Assets, Cache, and temp

I have set 755 permissions to these folders and they are owned by the PHP web user. However, I'm still getting logs that say: [error] [application] Could not delete the file /var/www/craft/storage/...
3
votes
1answer
45 views

What SQL query can I run to remove all users assigned to a particular group?

So I have a user group containing a few thousand users and I want to remove all of those users with a SQL script. These users don't have access to the control panel and so don't have any Entries ...
1
vote
1answer
88 views

Users allocating permissions beyond their own

I have set up a user group named Administrators, to be used for the person in charge of managing the website day to day. But I didn't tick the Admin box as I don't want them to be able to access ...
0
votes
1answer
104 views

Craft User Permissions in subsites

I'm still new to CraftCMS and still learning about site structure. The site that I am asking about below is not (yet?) in CraftCMS: Our site is composed of many subsites which have different users ...
0
votes
1answer
1k views

How possible is it to set write permissions on storage folder on symlinked install?

I have setup a site with a symlinked dir on nginx ubuntu server. When I access the root of the site I get this: /usr/share/nginx/html/releases/*********/craft/storage isn't writable by PHP. Please ...
3
votes
3answers
138 views

Entry validation not working when Publish live changes permission is not checked

when a user with no permission to publish is submitting a blank entry, the entry is saved anyway without any errors. Here is the permissions set to the user group: I have few required field as ...
3
votes
1answer
1k views

Image upload failed- file not writable

Trying to upload images and get the following error Upload failed for "filename". The error message was "Error uploading the file: The folder "/var/www/html/imgs/logos/" is not writable"
4
votes
2answers
143 views

Appraising Craft CMS - newbie questions

I am looking into the idea of porting my first site into Craft CMS. It is the site of a friend/client who has a railway engineering consultancy, and it's currently running on another CMS (TidyCMS). ...
1
vote
1answer
700 views

PHP 500 Error On One-click Update

I am trying to use the one-click update feature and continually am getting a 500 error when attempting retrieve available updates on staging server. All my permissions work correctly as my craft ...
3
votes
1answer
107 views

Specifying administrators for localized sites?

From what I've gleaned from other q&a, it's possible to set up multiple localized sites under one installation of Craft, but can you assign separate administrators to each? I'd like to set up ...