Comments (6)
I've also added this to config.php:
$config['_pico_users.enabled'] = true;
Adding output to public function config_loaded
works so the plugin seems to be running, it just doesn't prevent access to any pages.
from pico-users.
Hello, I made an upgrade to Pico 1.0 in the following branch :
https://github.com/nliautaud/pico-users/tree/v0.2
Could you test it before I release it ?
Note that the plugin will be enabled by default and that the setting variable is $config
. See the updated readme for up to date infos.
from pico-users.
Nice, that seems to work.
It throws a 404 if you browse directly and it hides restricted pages from the menu for non-logged users, which seems like correct behaviour.
from pico-users.
Great, thanks !
Two precisions on features that I don't know if they are explicit enough :
- By default a standard 404 is thrown, that you can customize with the 404.md page. If you want to indicates to visitors that the pages exists but are restricted, you can create a 403.md page.
- You can restrict full directories by using a trailing slash in a rights rule.
from pico-users.
Yes, I read the docs and I understood both of these points easily!
from pico-users.
Perfect, thanks for your return. I'll roll it shortly then.
from pico-users.
Related Issues (14)
- Cant log in HOT 3
- Undefined index: hash_type HOT 2
- Security: Don't store unhased passwords in sessions
- Security: Use password_hash() rather than hash() HOT 1
- split() was deprecated in PHP 5.3.0, and removed in PHP 7.0.0.
- Hide 403 pages from navigation
- Unauthorized pages can be listed by other plugins HOT 2
- 403 pages shown as $previousPage and $nextPage
- Extra slash in url bypasses rights list HOT 3
- feat: how admin users from external apps .. or API docs where?
- Anonymous user and rights HOT 1
- Plugin needs better session handling
- Login form not shown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pico-users.