Table Of Contents

Previous topic

6. Lifecycle

Next topic

8. References – how to customize generated references

This Page

Languages

Previous versions

1.2
1.1

New in version 1.1.

7. Publication

7.1. How to grant “publisher” permission

To allow an user to publish an object, edit its profile (via the admin interface) and check the can_publish field.

7.2. How to disable anonymous publication

There is no setting for the moment, but you can:

  1. Remove “publisher” permission of all users
  2. Unpublish all objects (see below)

You can also edit the code and send a patch ;-)

7.3. How to quickly unpublish all objects

In a python shell (./manage.py shell), execute the following lines:

>>> from openPLM.plmapp.models import PLMObject
>>> PLMObject.objects.update(published=False)

(no histories are recorded).