Plone中用户、组和权限管理

本文介绍了如何通过用户、组及权限设置来控制Plone网站的内容编辑、发布等操作。推荐的做法是将用户分配到组中,并通过组来授予对网站不同部分的访问权限。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

Users, Groups, and Permissions

 

来源:http://weblion.psu.edu/services/documentation/bootcamp-beginners/users-groups-permissions

Controlling who can do what on your Plone site

Users

  • Anonymous
    • Those who cannot log into Your Plone Site.
  • Logged-In (or Authenticated)
    • Listed as Users in Plone Control Panel.
    • Their default Role is Member.

Groups

  • A set of one or more Users.

Roles

  • Global Roles: Apply to Entire Site. Can see these listed in Plone Control Panel.
  • Local Roles: Apply to a Section of the site.

Permissions

  • Roles come with Permissions
    • The ability to Edit, Publish, Delete, and so on.

Granting Roles (and Therefore Permissions)

  • You can grant Roles to individual Users.
  • But it's usually better to grant Roles to Groups.

Sharing

  • Local way of granting Roles and Permissions.
    • Share a Folder, Page, Collection, etc. with a Group...
    • ...and can grant the Group Permissions on that item.

Example

  • You have a folder on your site called Training.
  • Authenticated User Rose Pruyne needs to add and edit content in this Training folder.
  • You, the site manager, create a Group called Training Content Providers.
  • You add Authenticated User Rose Pruyne to the Group Training Content Providers.
  • You Share the Training folder with this Group. 
    • You grant Add and Edit privileges to this Group.

Why Groups Instead of Individual Users?

  • Who can do what?? Where??
  • Keeping track of Groups is much easier.

Recommended Practice

  • Assign Users to Groups.
  • Assign Groups to areas of the site, using Sharing.
  • Do not assign Roles to individual users.
  • Do not assign individual Users to areas of the site.

Exercise

  • Add a new Folder on your site and call it Documentation.
  • Add a new User to your site.
  • Create a Group called Documentation Content Providers.
  • Add the new User to this Group.
  • Give this Group Add and Edit permissions
  • Open your site in another browser and log in as the new User. Try to add a page to the Documentation Folder.
next..

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值