Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2024-04-10 19:02:54

jimsanto
New Member
Registered: 2024-04-10
Posts: 2

Why are my freelancers able to upload images?

I am running 4.8.8 and was just surprised by one of my authors-in-training with the Freelancer role who somehow managed to upload their own images. According to the docs (and my many years of TXP experience) They should be blocked from Content > Images. Is this a known issue?

Offline

#2 2024-04-11 18:05:51

jakob
Admin
From: Germany
Registered: 2005-01-20
Posts: 4,597
Website

Re: Why are my freelancers able to upload images?

Hi jimsanto and welcome (back),

From what I can see in the code, all roles have access to the Content › Images pane, and the Freelancer role can create and edit and delete own images but not those of others.

In txp 4.8.8 the access rights are detailed in /lib/admin_config.php where No 5 = freelancer.

So, it looks like the error is in the docs.

The good news is, you can change that if you wish. You can either edit admin_config.php directly to remove access for freelancers (simply remove the 5 in the list), or use a plugin such as rah_privileges to edit privileges via the admin back-end.


TXP Builders – finely-crafted code, design and txp

Offline

#3 2024-04-11 21:36:01

jimsanto
New Member
Registered: 2024-04-10
Posts: 2

Re: Why are my freelancers able to upload images?

ah hah! thanks, Jakob, i thought i was losing my mind, lol

js

Offline

Board footer

Powered by FluxBB