developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 13 years ago

Closed 13 years ago

#155 closed new feature (fixed)

Add command line to setup jacl

Reported by: laurentj Owned by: laurentj
Priority: high Milestone: Jelix 1.0beta2
Component: jelix-scripts Version: 1.0 beta1
Severity: critical Keywords: acl script
Cc: Blocked By:
Blocking: Documentation needed:
Hosting Provider: Php version:

Description

Some commands should be provided by the jelix script, to setup jacl.

For example, we could have an "acl" command, which accept a subcommand and other arguments depending of subcommand. Here is the list of subcommand :

  • user management
    • acl user_list [group]
    • acl user_create [-defaultgroup] login
    • acl user_remove login
    • acl user_add_group login group
    • acl user_remove_group login group
  • group management
    • acl group_create [-defaultgroup] group
    • acl group_default group true|false
    • acl group_changename group newname
    • acl group_remove group
    • acl group_list [user]
  • rights management
    • acl right_add group subject value [resource]
    • acl right_remove group subject value [resource]
    • acl right_resource_remove subject resource
    • acl right_subject_add subject valuegroup labelkey
    • acl right_subject_remove subject
  • right values management
    • acl rv_group_list
    • acl rv_group_add id labelkey type
    • acl rv_group_remove id
    • acl rv_add value labelkey rvgid
    • acl rv_remove value rvgid

Change History (2)

comment:1 Changed 13 years ago by laurentj

  • Owner set to laurentj
  • Status changed from new to assigned

comment:2 Changed 13 years ago by laurentj

  • Resolution set to fixed
  • Status changed from assigned to closed

new commands have been created in the trunk: aclright, aclvalue, aclgroup.

Note: See TracTickets for help on using tickets.