Skip to content
This repository was archived by the owner on Mar 1, 2024. It is now read-only.

wp-plugins/data-access-levels

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

=== Data access levels ===
Contributors: lienann 
Tags: access, level, restriction, permissions
Requires at least: 3.0
Tested up to: 4.1
Stable tag: 1.1.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Restrict access to posts by user access level.

== Description ==

This plugin allow to set access level value for users and materials and limit 
access to materials of a specific type (posts, pages, custom post types) when 
user access level lower then material access level.

Also this plugin creates a new capabilities:

1. dal_admin - capability to change plugin settings
2. dal_edit - capability to change user access level

**Attention to developers!** 
Filters used in this plugin does not work when using get_posts() with
the parameter 'suppress_filters' => true.

Install script don't assign any values of user access levels and post access levels.
By default post access level = 100 and user access level = 0 (except Administrator = 100 ).
By default access to posts is limited in front-end. There is an option 
"Should we apply restrictions in admin console?" in plugin settings to limit access in 
administrator interface too.
Users can assign records access level equal or lower their own access level.

**Languages:** English, Русский

I apologize for possible mistakes in plugin translation.
I will be glad to accept the help with the correct translation of a plugin into
English and to correction of my mistakes.

== Installation ==

1. Upload the `data-access-levels` folder to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Go to the Tools -> DAL settings

== Changelog ==

= 1.1.1 =
* Fixed bug where default values are set every time at the activation

= 1.1.0 =
* Updated plugin settings page
* Added setting "guest access level"
* Added possibility specify a minimum user access level = 0
* Updated screenshot

= 1.0 =
* Initial release

== Screenshots ==

1. Plugin settings page
2. Access level column from the User panel (users.php)
3. "Access level" field on edit page

About

WordPress.org Plugin Mirror

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors