Skip to content
GitLab
    • Explore Projects Groups Topics Snippets
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory fusiondirectory
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 39
    • Issues 39
    • List
    • Boards
    • Service Desk
    • Milestones
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectoryfusiondirectory
  • fusiondirectoryfusiondirectory
  • Issues
  • #2313
Closed
Open
Issue created 12 years ago by bmortier@bmortierMaintainer
  • New related issue

  • New related issue

Rethink categories and object types

Closed

Rethink categories and object types

ACL categories were supposed to disappear, being replace by objectTypes, and this was never done. We need to look into this and make some choices. There is duplicated information between these two things, + in simpleManagement objectType is used as category.

(from redmine: issue id 2313, created on 2013-04-15, closed on 2014-01-06)

  • Relations:
    • relates #2741
    • copied_to #2483
  • Changesets:
    • Revision ca6a4b61 by Côme Chilliet on 2013-06-07T14:53:20.000Z:
Fixes: #2313 Reworked ACL categories
  • Revision f908d801 by Côme Chilliet on 2013-06-10T16:53:41.000Z:
Fixes #2313 fixed categories objectClass auto filling
  • Revision 88aae52e by Côme Chilliet on 2013-09-14T11:08:26.000Z:
Fixes: #2313 Improved acl category handling
  • Revision 2357077a by Côme Chilliet on 2013-09-14T11:08:32.000Z:
Fixes: #2313 Fixed listing base handling
  • Revision eb2f258a by Côme Chilliet on 2013-09-16T15:03:01.000Z:
Fixes: #2313 Reworked ACL categories
  • Revision 7a60a653 by Côme Chilliet on 2013-09-16T15:03:18.000Z:
Fixes #2313 fixed categories objectClass auto filling
  • Revision e72853c9 by Côme Chilliet on 2013-09-23T10:38:47.000Z:
Fixes: #2313 Fixed listing base handling
  • Revision 60ec5b81 by Côme Chilliet on 2013-09-23T13:23:46.000Z:
Fixes: #2313 Cleaning categories and objectTypes

Conflicts:
	plugins/admin/ogroups/class_ogroupManagement.inc
  • Revision c606984d by Côme Chilliet on 2013-09-23T13:54:36.000Z:
Fixes: #2313 Improved acl category handling
  • Revision 49ab9bf8 by Côme Chilliet on 2013-11-16T15:43:33.000Z:
Fixes: #2313 Using objectType filter in listing
  • Revision fd6408b4 by Benoit MORTIER on 2013-11-20T08:40:00.000Z:
Fixes: #2313 Cleaning categories and objectTypes
  • Revision 49b73eea by Côme Chilliet on 2013-11-20T08:40:41.000Z:
Fixes: #2313 Using objectType filter in listing
  • Custom Fields:
    • Bug in version: 1.0.5
  • Uploads:
    • 0001-Fixes-2313-Reworked-ACL-categories.patch
    • 0002-Fixes-2313-fixed-categories-objectClass-auto-filling.patch
    • 0003-Fixes-2313-Improved-acl-category-handling.patch
    • 0004-Fixes-2313-Fixed-listing-base-handling.patch
    • 0005-Fixes-2313-Cleaning-categories-and-objectTypes.patch
    • 0006-Fixes-2313-Using-objectType-filter-in-listing.patch
    • patch5-2313-issues.txt

    Tasks

    0

    No tasks are currently assigned. Use tasks to break down this issue into smaller parts.

    Linked items
    0

    Link issues together to show that they're related. Learn more.

    Activity


    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Idea: In plObjectType definition, we add a key 'category'. If this key is missing, the name of the objectType is used. If the definition of a category is missing and there is an objectType with the same name, we extract the category definition from the objectType.

      Examples: Define a category and use it for this OT:

      'plCategory' => array('system' => definition),
      'plObjectType' => array('server' => array('category' => 'system', definition))
      

      Defining a category and automatically use it:

      'plCategory' => array('server' => definition),
      'plObjectType' => array('server' => array(definition))
      

      Do not define the category (auto-define from OT):

      'plObjectType' => array('server' => array(definition))
      

      (from redmine: written on 2013-05-17)

      By Côme Chilliet on 2017-09-02T14:58:38 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      What happens to tab which are in several objectTypes? Is the same category always used?

      What should be happening is the following: editing the tab T for the object of type O should require rights on O/T, but I'm not sure it's how it works

      (from redmine: written on 2013-05-17)

      By Côme Chilliet on 2017-09-02T14:58:38 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 12 years ago
      Author Maintainer

      Note: objectType already has an entry called aclCategory which is used for simpleManagement

      (from redmine: written on 2013-05-17)

      By Côme Chilliet on 2017-09-02T14:58:38 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 11 years ago
      Author Maintainer

      Hello,

      everything committed into 1.1

      Cheers

      (from redmine: written on 2013-09-14)

      By bmortier on 2017-09-02T14:58:38 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 11 years ago
      Author Maintainer

      oops this break at least systemManagement

      (from redmine: written on 2013-09-25)

      By Côme Chilliet on 2017-09-02T14:58:38 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 11 years ago
      Author Maintainer

      The problem is on systems plugin side, see #2741

      (from redmine: written on 2013-09-26)

      By Côme Chilliet on 2017-09-02T14:58:39 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 11 years ago
      Author Maintainer

      Last patches are also needed in 1.1

      (from redmine: written on 2013-11-19)

      By Côme Chilliet on 2017-09-02T14:58:39 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 11 years ago
      Author Maintainer

      Hello,

      patch 5 give this when applied to develop

      (from redmine: written on 2013-11-19)

      By bmortier on 2017-09-02T14:58:39 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 11 years ago
      Author Maintainer

      Hello,

      applied to 1.1

      Cheers

      (from redmine: written on 2013-11-20)

      By bmortier on 2017-09-02T14:58:39 (imported from GitLab)

    • bmortier
      bmortier @bmortier · 11 years ago
      Author Maintainer

      Close issue

      (from redmine: written on 2014-01-06)

      By Côme Chilliet on 2017-09-02T14:58:39 (imported from GitLab)

    • bmortier closed 7 years ago

      closed

      By Côme Chilliet on 2017-09-02T14:58:40 (imported from GitLab)

    • bmortier added Changed fusiondirectory-core labels 6 years ago

      added Changed fusiondirectory-core labels

      By bmortier on 2018-10-10T19:25:30 (imported from GitLab)

    Please register or sign in to reply
    Assignee
    bmortier's avatar
    bmortier
    Assign to
    Labels
    3
    Bugs Changed fusiondirectory-core
    3
    Bugs Changed fusiondirectory-core
      Assign labels
    • Manage project labels

    Milestone
    FusionDirectory 1.0.8
    FusionDirectory 1.0.8 (expired)
    Due date
    None
    None
    None
    Time tracking
    No estimate or time spent
    Confidentiality
    Not confidential
    Not confidential

    You are going to turn on confidentiality. Only project members with at least the Reporter role, the author, and assignees can view or be notified about this issue.

    Lock issue
    Unlocked
    1
    1 Participant
    bmortier
    Reference: fusiondirectory/fd#2313

    Menu

    Explore Projects Groups Topics Snippets