Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2020-10-31 06:38:28

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,686
Website GitHub Twitter

Re: Password protection

Bruce Bowden wrote #326616:

Success! I wrapped the page contents, apart from the site heading, in cbe_frontauth_protect with a login form as the ELSE option.

I must say that Textpattern has a very low swearing to output ratio compared with a lot of other software. You have done well!

Stay safe
Bruce

Just a heads-up to check what appears in the feed too.


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#14 2020-10-31 08:57:09

Bruce Bowden
Member
From: Melbourne, Australia
Registered: 2020-10-22
Posts: 28

Re: Password protection

Thanks, Yiannis,
I don’t need the feeds. If I just remove the feed-link lines, will that block that hole?

Stay safe
Bruce

Offline

#15 2020-10-31 09:24:36

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,435
Website

Re: Password protection

Bruce: on the Sections panel, for each (affected/relevant) section uncheck the Syndicate articles? item.


Where is that emoji for a solar powered submarine when you need it ?

Offline

#16 2020-10-31 09:41:57

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,481
Website GitHub

Re: Password protection

Bruce Bowden wrote #326616:

I must say that Textpattern has a very low swearing to output ratio compared with a lot of other software. You have done well!

Thank you. That made me smile.

We do strive to make Textpattern as consistent and logical as possible, favouring convention over configuration wherever possible. If you do stumble across anything that makes you scratch your head too much, please ask around in the forums or raise an issue and we’ll see what can be done about it.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#17 2020-10-31 09:52:36

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,686
Website GitHub Twitter

Re: Password protection

Bruce Bowden wrote #326619:

Thanks, Yiannis,
I don’t need the feeds. If I just remove the feed-link lines, will that block that hole?

Stay safe
Bruce

Just deleting the link, may stop some people from discovering your feeds, but not those who may be looking for them.

If you go to Admin>preferences>Feeds, you can use excerpts only. Alternatively, if the protected articles belong to sections that do not offer any public content, you can go to Presentation>Sections, click on the section and prevent them from syndicating any content.


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#18 2020-11-02 03:00:07

Bruce Bowden
Member
From: Melbourne, Australia
Registered: 2020-10-22
Posts: 28

Re: Password protection

Progress is happening. The site is now “live” and no longer just living on my Raspberry Pi. Transfer was fairly seamless.

The Point intranet

But now I have to sort out user roles. It looks like there is currently no option in a standard install to create users that can log in but have no access to the back end.

Smd_user_manager might solve the problem but reading the forums suggests that installing it in a current site might also ruin my swearing/output figures.

Any suggestions for a simple way of creating users with no admin access?

Offline

#19 2020-11-02 05:14:38

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 8,686
Website GitHub Twitter

Re: Password protection

cbe_frontauth mentioned in this thread should do it but the auto redirect might need tweeking. Also check Bloke’s post.


Yiannis
——————————
neme.org | hblack.net | State Machines | NeMe @ github
I do my best editing after I click on the submit button.

Offline

#20 2020-11-02 05:23:24

Bruce Bowden
Member
From: Melbourne, Australia
Registered: 2020-10-22
Posts: 28

Re: Password protection

Hi Yiannis,
I have cbe_frontauth installed, patched, and running well.

But how do I create a user that can log in but has no admin access?

Stay safe
Bruce

Offline

#21 2020-11-02 08:37:31

saccade
Plugin Author
From: Neubeuern, Germany
Registered: 2004-11-05
Posts: 517

Re: Password protection

Hi Bruce,
I also need this kind of only-log-in-role, but I solve it by using the “Freelancer” – which I never need – who in any way only could write own articles.
With smd_user_manager you could deactivate tab.content and/or list (I didn’t check that), so he can log in but will not see anything on the admin side.
Michael

EDIT: And I have cbe_frontath and smd_user_manager together in one install, without any interference.

Last edited by saccade (2020-11-02 08:45:04)

Offline

#22 2020-11-02 08:51:27

Bruce Bowden
Member
From: Melbourne, Australia
Registered: 2020-10-22
Posts: 28

Re: Password protection

That works. I have rah_privileges installed and used it to switch off all the admin functions for freelancer. Accessing the admin area using that log-in shows a message saying “Restricted area” and no visible tabs apart from the view site tab.

That should give enough security. Thanks.

Stay safe
Bruce

Offline

#23 2020-11-02 09:19:27

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,481
Website GitHub

Re: Password protection

I really should patch smd_user_manager. It’s been on my to-do list for ages.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

Board footer

Powered by FluxBB