SlideShare uma empresa Scribd logo
1 de 20
Baixar para ler offline
collective.local.* packages
Light components for user
management delegation
Thomas Desvenain (Ecréall),PLOG 2013
thomasdesvenain@ecreall.com
https://github/tdesvenain
A Workspace in Plone
A place where members share data with a certain
level of self-management
Easy to transpose into Plone:
A folder where allowed users can share (and edit)
contents and give rights to other people.
Thomas Desvenain (Ecréall) 2/20 PLOG 2013 Sorrento
A Workspace in Plone
Plone is good at
➢
Upload and organize contents our own way
➢
Grant users read and write access
➢
Grant sharing privileges to locally privileged users (a
« Workspace manager » or « Can share » role)
➢
Providing views restricted to the content of the
workspace (navigation portlet, etc)
➢
Much more
Plone is not so good at:
➢
Locally delegating user management
➢
Communicate with users we share documents with
Thomas Desvenain (Ecréall) 3/20 PLOG 2013 Sorrento
What we can do with
collective.local.* products
➢
Locally delegate user creation with collective.local.adduser
➢
Delegate group management with c.l.addgroup
➢
Display workspace members listing with c.l.userlisting
➢
Send content by mail to other members with c.l.sendto
➢
Display group members in sharing table with c.l.deploygroups
➢
Having this in a set-up bundle with c.l.workspace
We'll focus on
collective.local.adduser and collective.local.addgroup
Thomas Desvenain (Ecréall) 4/20 PLOG 2013 Sorrento
Technical approach
Plone does almost all the job. We just need additional
feature wich have to fit with any environment without
altering it.
No specific content type
➢
There is no Workspace, just Workspace features for
folders
➢
Folder just has to provide an interface to get a feature
Thomas Desvenain (Ecréall) 5/20 PLOG 2013 Sorrento
Technical approach
Plone does almost all the job. We just need additional
feature wich have to fit with any environment without
altering it.
No specific content type
➢
There is no Workspace, just Workspace features for
folders
➢
Folder just has to provide an interface to get a feature
Thomas Desvenain (Ecréall) 6/20 PLOG 2013 Sorrento
Technical approach
No specific role
➢
Workspace manager can be a set-up of an existing role
➢
No role for Workspace member.
Members are just all users with local roles
➢
No member list stored in any way
➢
Can theoretically be mixed with any other workspace
system (collective.groupspaces,, collective.team...)
Use existing Plone permissions as most as possible
Thomas Desvenain (Ecréall) 7/20 PLOG 2013 Sorrento
Technical approach
No dependency
➢
Each feature is entirely independent
No setup
➢
No workflow or security settings (excepted in
c.l.workspace)
➢
configure.zcml that setups feature for default folders
➢
minimal.zcml that sets up nothing
Using Plone views as most as possible
Thomas Desvenain (Ecréall) 8/20 PLOG 2013 Sorrento
collective.local.adduser
The context:
➢
Dozens of workspaces
➢
Several new users / week
➢
One overwhelmed site administrator
➢
Trusted workspace managers
Thomas Desvenain (Ecréall) 9/20 PLOG 2013 Sorrento
collective.local.adduser
The problem:
Create a user + give local access: not a fluent process
➢
Workspace manager asks Admin for user creation,
➢
Wait it is done...,
➢
Give the access,
➢
Notify the user.
(When user receives the email, he has no right yet.
« This doesn't work ! »)
=> Admin often does the whole job
Thomas Desvenain (Ecréall) 10/20 PLOG 2013 Sorrento
collective.local.adduser
Thomas Desvenain (Ecréall) 11/20 PLOG 2013 Sorrento
collective.local.adduser
Thomas Desvenain (Ecréall) 12/20 PLOG 2013 Sorrento
collective.local.adduser
collective.local.adduser allows a workspace manager to
create user
➢
Users are created globally
➢
Roles are setup only on workspace
requirements:
➢
Workspace manager locally needs « Manage Users »
➢
Workspace folder implements an interface
collective.local.adduser.interfaces.IAddUser
Thomas Desvenain (Ecréall) 13/20 PLOG 2013 Sorrento
collective.local.addgroup
The context:
➢
Workspaces with dozens of members
The problems:
➢
Sharing page turned unreadable
➢
Setting a role was critically slow
(reindexObjectSecurity...)
=> Delegating group creation became essential
Thomas Desvenain (Ecréall) 14/20 PLOG 2013 Sorrento
collective.local.addgroup
Thomas Desvenain (Ecréall) 15/20 PLOG 2013 Sorrento
collective.local.addgroup
Thomas Desvenain (Ecréall) 16/20 PLOG 2013 Sorrento
c.l.adduser + c.l.addgroup
Thomas Desvenain (Ecréall) 17/20 PLOG 2013 Sorrento
collective.local.addgroup
collective.local.addgroup allows a workspace manager to
create groups
➢
Similar behaviour than collective.local.adduser
requirements:
➢
Workspace manager locally needs « Manage Users »
➢
Workspace folder implements an interface
collective.local.adduser.interfaces.IAddNewGroup
Thomas Desvenain (Ecréall) 18/20 PLOG 2013 Sorrento
c.l.adduser + c.l.addgroup
Thomas Desvenain (Ecréall) 19/20 PLOG 2013 Sorrento
collective.local.*
Thank you for your attention
thomas.desvenain@gmail.com
vincent.fretin@gmail.com
http://github.com/tdesvenain
http://github.com/vincentfretin
Thomas Desvenain (Ecréall) 20/20 PLOG 2013 Sorrento

Mais conteúdo relacionado

Semelhante a Delegate user and group management in Plone workspaces

Drupal Seminar May 15th, 2013
Drupal Seminar May 15th, 2013Drupal Seminar May 15th, 2013
Drupal Seminar May 15th, 2013Exove
 
Drupal theming training
Drupal theming trainingDrupal theming training
Drupal theming trainingdropsolid
 
Improving Domino Designer
Improving Domino DesignerImproving Domino Designer
Improving Domino DesignerKathy Brown
 
Connect2014 BP205: Improving Your IBM Domino Designer Experience
Connect2014 BP205: Improving Your IBM Domino Designer ExperienceConnect2014 BP205: Improving Your IBM Domino Designer Experience
Connect2014 BP205: Improving Your IBM Domino Designer Experiencepanagenda
 
Jenkins talk at Silicon valley DevOps meetup
Jenkins talk at Silicon valley DevOps meetupJenkins talk at Silicon valley DevOps meetup
Jenkins talk at Silicon valley DevOps meetupCloudBees
 
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development teamMoving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development teamSofia Fateeva
 
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development teamMoving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development teamPVS-Studio
 
Docker Online Meetup #3: Docker in Production
Docker Online Meetup #3: Docker in ProductionDocker Online Meetup #3: Docker in Production
Docker Online Meetup #3: Docker in ProductionDocker, Inc.
 
Moodle at scale why assigning a role can cause a catastrophe
Moodle at scale   why assigning a role can cause a catastropheMoodle at scale   why assigning a role can cause a catastrophe
Moodle at scale why assigning a role can cause a catastrophesammarshall_ou
 
dropbox by ramanjeet lamba
dropbox by ramanjeet lambadropbox by ramanjeet lamba
dropbox by ramanjeet lamba100580308717
 
Contextual - Intranet Shoot-out: Plone vs. SharePoint
Contextual - Intranet Shoot-out:  Plone vs. SharePointContextual - Intranet Shoot-out:  Plone vs. SharePoint
Contextual - Intranet Shoot-out: Plone vs. SharePointKen Wasetis
 
Containerization (docker)
Containerization (docker)Containerization (docker)
Containerization (docker)RadhikaKachhawa
 
Drupal Presentation for CapitalCamp 2011: Features Driven Development
Drupal Presentation for CapitalCamp 2011: Features Driven DevelopmentDrupal Presentation for CapitalCamp 2011: Features Driven Development
Drupal Presentation for CapitalCamp 2011: Features Driven DevelopmentMediacurrent
 
Shipping Applications to Production in Containers with Docker
Shipping Applications to Production in Containers with DockerShipping Applications to Production in Containers with Docker
Shipping Applications to Production in Containers with DockerJérôme Petazzoni
 
Docker: do's and don'ts
Docker: do's and don'tsDocker: do's and don'ts
Docker: do's and don'tsPaolo Tonin
 
Deep dive - Concourse CI/CD and Pipelines
Deep dive  - Concourse CI/CD and PipelinesDeep dive  - Concourse CI/CD and Pipelines
Deep dive - Concourse CI/CD and PipelinesSyed Imam
 

Semelhante a Delegate user and group management in Plone workspaces (20)

Drupal Seminar May 15th, 2013
Drupal Seminar May 15th, 2013Drupal Seminar May 15th, 2013
Drupal Seminar May 15th, 2013
 
Let me introduce you: DOTS
Let me introduce you: DOTSLet me introduce you: DOTS
Let me introduce you: DOTS
 
Users guide
Users guideUsers guide
Users guide
 
Drupal theming training
Drupal theming trainingDrupal theming training
Drupal theming training
 
Improving Domino Designer
Improving Domino DesignerImproving Domino Designer
Improving Domino Designer
 
Connect2014 BP205: Improving Your IBM Domino Designer Experience
Connect2014 BP205: Improving Your IBM Domino Designer ExperienceConnect2014 BP205: Improving Your IBM Domino Designer Experience
Connect2014 BP205: Improving Your IBM Domino Designer Experience
 
Jenkins talk at Silicon valley DevOps meetup
Jenkins talk at Silicon valley DevOps meetupJenkins talk at Silicon valley DevOps meetup
Jenkins talk at Silicon valley DevOps meetup
 
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development teamMoving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development team
 
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development teamMoving from CruiseControl.NET to Jenkins in the PVS-Studio development team
Moving from CruiseControl.NET to Jenkins in the PVS-Studio development team
 
Docker Online Meetup #3: Docker in Production
Docker Online Meetup #3: Docker in ProductionDocker Online Meetup #3: Docker in Production
Docker Online Meetup #3: Docker in Production
 
Moodle at scale why assigning a role can cause a catastrophe
Moodle at scale   why assigning a role can cause a catastropheMoodle at scale   why assigning a role can cause a catastrophe
Moodle at scale why assigning a role can cause a catastrophe
 
The power of dots
The power of dotsThe power of dots
The power of dots
 
dropbox by ramanjeet lamba
dropbox by ramanjeet lambadropbox by ramanjeet lamba
dropbox by ramanjeet lamba
 
Contextual - Intranet Shoot-out: Plone vs. SharePoint
Contextual - Intranet Shoot-out:  Plone vs. SharePointContextual - Intranet Shoot-out:  Plone vs. SharePoint
Contextual - Intranet Shoot-out: Plone vs. SharePoint
 
Containerization (docker)
Containerization (docker)Containerization (docker)
Containerization (docker)
 
Drupal Presentation for CapitalCamp 2011: Features Driven Development
Drupal Presentation for CapitalCamp 2011: Features Driven DevelopmentDrupal Presentation for CapitalCamp 2011: Features Driven Development
Drupal Presentation for CapitalCamp 2011: Features Driven Development
 
Shipping Applications to Production in Containers with Docker
Shipping Applications to Production in Containers with DockerShipping Applications to Production in Containers with Docker
Shipping Applications to Production in Containers with Docker
 
Docker: do's and don'ts
Docker: do's and don'tsDocker: do's and don'ts
Docker: do's and don'ts
 
Deep dive - Concourse CI/CD and Pipelines
Deep dive  - Concourse CI/CD and PipelinesDeep dive  - Concourse CI/CD and Pipelines
Deep dive - Concourse CI/CD and Pipelines
 
Docker 101
Docker 101 Docker 101
Docker 101
 

Último

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsJoaquim Jorge
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024The Digital Insurer
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 

Último (20)

Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 

Delegate user and group management in Plone workspaces

  • 1. collective.local.* packages Light components for user management delegation Thomas Desvenain (Ecréall),PLOG 2013 thomasdesvenain@ecreall.com https://github/tdesvenain
  • 2. A Workspace in Plone A place where members share data with a certain level of self-management Easy to transpose into Plone: A folder where allowed users can share (and edit) contents and give rights to other people. Thomas Desvenain (Ecréall) 2/20 PLOG 2013 Sorrento
  • 3. A Workspace in Plone Plone is good at ➢ Upload and organize contents our own way ➢ Grant users read and write access ➢ Grant sharing privileges to locally privileged users (a « Workspace manager » or « Can share » role) ➢ Providing views restricted to the content of the workspace (navigation portlet, etc) ➢ Much more Plone is not so good at: ➢ Locally delegating user management ➢ Communicate with users we share documents with Thomas Desvenain (Ecréall) 3/20 PLOG 2013 Sorrento
  • 4. What we can do with collective.local.* products ➢ Locally delegate user creation with collective.local.adduser ➢ Delegate group management with c.l.addgroup ➢ Display workspace members listing with c.l.userlisting ➢ Send content by mail to other members with c.l.sendto ➢ Display group members in sharing table with c.l.deploygroups ➢ Having this in a set-up bundle with c.l.workspace We'll focus on collective.local.adduser and collective.local.addgroup Thomas Desvenain (Ecréall) 4/20 PLOG 2013 Sorrento
  • 5. Technical approach Plone does almost all the job. We just need additional feature wich have to fit with any environment without altering it. No specific content type ➢ There is no Workspace, just Workspace features for folders ➢ Folder just has to provide an interface to get a feature Thomas Desvenain (Ecréall) 5/20 PLOG 2013 Sorrento
  • 6. Technical approach Plone does almost all the job. We just need additional feature wich have to fit with any environment without altering it. No specific content type ➢ There is no Workspace, just Workspace features for folders ➢ Folder just has to provide an interface to get a feature Thomas Desvenain (Ecréall) 6/20 PLOG 2013 Sorrento
  • 7. Technical approach No specific role ➢ Workspace manager can be a set-up of an existing role ➢ No role for Workspace member. Members are just all users with local roles ➢ No member list stored in any way ➢ Can theoretically be mixed with any other workspace system (collective.groupspaces,, collective.team...) Use existing Plone permissions as most as possible Thomas Desvenain (Ecréall) 7/20 PLOG 2013 Sorrento
  • 8. Technical approach No dependency ➢ Each feature is entirely independent No setup ➢ No workflow or security settings (excepted in c.l.workspace) ➢ configure.zcml that setups feature for default folders ➢ minimal.zcml that sets up nothing Using Plone views as most as possible Thomas Desvenain (Ecréall) 8/20 PLOG 2013 Sorrento
  • 9. collective.local.adduser The context: ➢ Dozens of workspaces ➢ Several new users / week ➢ One overwhelmed site administrator ➢ Trusted workspace managers Thomas Desvenain (Ecréall) 9/20 PLOG 2013 Sorrento
  • 10. collective.local.adduser The problem: Create a user + give local access: not a fluent process ➢ Workspace manager asks Admin for user creation, ➢ Wait it is done..., ➢ Give the access, ➢ Notify the user. (When user receives the email, he has no right yet. « This doesn't work ! ») => Admin often does the whole job Thomas Desvenain (Ecréall) 10/20 PLOG 2013 Sorrento
  • 13. collective.local.adduser collective.local.adduser allows a workspace manager to create user ➢ Users are created globally ➢ Roles are setup only on workspace requirements: ➢ Workspace manager locally needs « Manage Users » ➢ Workspace folder implements an interface collective.local.adduser.interfaces.IAddUser Thomas Desvenain (Ecréall) 13/20 PLOG 2013 Sorrento
  • 14. collective.local.addgroup The context: ➢ Workspaces with dozens of members The problems: ➢ Sharing page turned unreadable ➢ Setting a role was critically slow (reindexObjectSecurity...) => Delegating group creation became essential Thomas Desvenain (Ecréall) 14/20 PLOG 2013 Sorrento
  • 17. c.l.adduser + c.l.addgroup Thomas Desvenain (Ecréall) 17/20 PLOG 2013 Sorrento
  • 18. collective.local.addgroup collective.local.addgroup allows a workspace manager to create groups ➢ Similar behaviour than collective.local.adduser requirements: ➢ Workspace manager locally needs « Manage Users » ➢ Workspace folder implements an interface collective.local.adduser.interfaces.IAddNewGroup Thomas Desvenain (Ecréall) 18/20 PLOG 2013 Sorrento
  • 19. c.l.adduser + c.l.addgroup Thomas Desvenain (Ecréall) 19/20 PLOG 2013 Sorrento
  • 20. collective.local.* Thank you for your attention thomas.desvenain@gmail.com vincent.fretin@gmail.com http://github.com/tdesvenain http://github.com/vincentfretin Thomas Desvenain (Ecréall) 20/20 PLOG 2013 Sorrento