create new tag
, view all tags

Feature Proposals » Control / Set permissions of child topics


Current State: Developer: Reason: Date: Concerns By: Bug Tracking: Proposed For:
ParkedProposal MichaelGulitz None 2012-03-02     KampalaRelease

Edit Form

DateOfCommitment:   Format: YYYY-MM-DD


Setting permissions on a topic does currently not affect permissions of child topics, thus permissions must be changed for each single topic.

Adapting permissions on a complete topic tree results in time consuming work.

A function that allows the user to apply permissions to a topic and (optionally) to all its subtopics in a single action would improve permission handling a lot.

Description and Documentation

The function should be available on every topic (more topic actions). When choosing the function a list of all subtopics should be displayed to show which topics will be affected.

Entering new permissions will replace all existing permissions on the topic and all its subtopics with the new settings.



WhatDoesItAffect: Usability


-- Contributors: MichaelGulitz - 2012-02-16


That is a good manual way to set the permissions of all child topics. I support this feature, it needs a committed developer.

Another option is to change the spec that topics automatically inherit the permissions of the parent chain, then web permissions, etc.

-- PeterThoeny - 2012-02-16

To cope with that sort of requirements, I enhanced Access.pm so that TWiki variables in ALLOWWEBVIEW, DENYWEBVIEW, etc. are expanded.

It's a bit tricky to use but can achieve a similar goal. With that enhancement, you would have a topic naming convention where a set of topics starts with a certain string. And topics starting with that string would be restricted. How does this sound?

-- HideyoImazu - 2012-03-02

We use a strict naming convention for topic. for example all topics dealing with a project start withe project id, but permission might differ among them. For example in project documentation not every is allowed to see the the financial status, or other confidential stuff

-- MichaelGulitz - 2012-03-02

Your Idea is smart but does not solve all of my issues

-- MichaelGulitz - 2012-03-02

Naming convention is not the only way to achieve your access restriction goal under my scenario. You can use a parent topic for access restriction by having %META{"parent" format="$topic"}% in ALLOWWEBVIEW.

-- HideyoImazu - 2012-03-02

When doing this to a parent topic, what will happen if a user doesn't have sufficient permission to change one of its child topics?

-- YaojunFei - 2012-10-12

Yaojun: If implemented as proposed by Michael, if the user does not have sufficient permission to change one of its child topics it will show an error.

Personally I favor the way to expand variables in access control settings.

Discussed at JerusalemReleaseMeeting2012x10x12: This proposal is inactive. Anyone can claim it as a committed developer to implement the feature.

-- PeterThoeny - 2012-10-13

I am changing the status to ParkedProposal due to long inactivity. Feel free to claim and implement this feature.

-- Peter Thoeny - 2015-06-18

Edit | Attach | Watch | Print version | History: r11 < r10 < r9 < r8 < r7 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r11 - 2015-06-18 - PeterThoeny
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2018 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.