The project info and README.txt say that uuid should create uuids for roles but this seams to be not correct.

The uuid_get_core_entity_info() function from http://drupalcode.org/project/uuid.git/commitdiff/312ccf9acfa70724a9c689... does not provide the role table as supported core entity. And when installing the latest version 7.x-1.0-alpha3, the roles table is not altered.

Bug or (missing) feature?

Comments

dixon_’s picture

Title: No uuid support for roles anymore. » Update README file to reflect current feature set
Assigned: Unassigned » dixon_
Status: Active » Needs work

It's neither a bug or missing feature :)

The Drupal 7 version of UUID no longer support roles. And here is my reasoning:

Roles are generally considered configuration, where the role name it self is considered a machine name, thus universally unique. The Features module are supporting and treating roles on these conditions. So there's no reason or need for UUID to change or duplicate that.

I know that skwashd (one of the co-maintainers) doesn't agree with this. So I won't reject a patch if someone want to write it :)

That said, the README file needs to be updated to reflect the current status of the D7 version. I'll fix this.

dixon_’s picture

Status: Needs work » Fixed

I've now committed a new rewritten README file, with text from our new project page. For reference, here's the new content:



INTRODUCTION
------------

This module provides an API for adding universally unique identifiers (UUID) to
Drupal objects, most notably entities.

FEATURES
--------

 * Automatic UUID generation:
   UUIDs will be generated for all core entities. An API is provided for other
   modules to enable support for custom entities.
 * UUID API for entities, properties and fields:
   With this unified API you can load entities with entity_uuid_load() so that
   all supported properties and fields are made with UUID references. You can
   also save entities formatted this way with entity_uuid_save() (depends on
   Entity API).
 * Export entities to use as default/demo content:
   The integration with Features module provides the ability to export UUID
   enabled entities with intact dependencies and references to other entities.
   This functionality depends on Deploy module 7.x-2.0-alpha1 (soon to be
   released) and is probably the most robust way for installation profiles and
   distributions to provide demo content!
 * Services integration:
   The integration with Services module alters all UUID enabled entity resources
   (nodes, users, taxonomies etc) to be based on UUIDs instead. This way it
   becomes easier to share and integrate content between sites. This
   functionality is used by Deploy module.
 * More integrations:
   UUID module integrates with Views, Token, Rules and provides some CTools
   plugins.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.