[glom/glom-1-20] Fix more group privileges
- From: Murray Cumming <murrayc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glom/glom-1-20] Fix more group privileges
- Date: Mon, 6 Feb 2012 11:32:47 +0000 (UTC)
commit 3f5252055ad580554d371694ca82ad550bbe7ac5
Author: Murray Cumming <murrayc murrayc com>
Date: Fri Feb 3 11:50:17 2012 +0100
Fix more group privileges
examples/example_project_manager.glom | 27 ++++++++++++++++++++++++---
1 files changed, 24 insertions(+), 3 deletions(-)
---
diff --git a/examples/example_project_manager.glom b/examples/example_project_manager.glom
index e5d1d16..c4cd07f 100644
--- a/examples/example_project_manager.glom
+++ b/examples/example_project_manager.glom
@@ -882,8 +882,29 @@
<print_layouts/>
</table>
<groups><!--These are only used when recreating a database from an example file. The actual access-control is on the server, of course.-->
- <group name="accounts"/>
- <group name="glom_developer" developer="true"/>
- <group name="personnel_department"/>
+ <group name="accounts">
+ <table_privs table_name="contacts" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ <table_privs table_name="glom_system_preferences" priv_view="true" priv_edit="true"/>
+ <table_privs table_name="projects" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ <table_privs table_name="project_teams" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ <table_privs table_name="team_members" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ <table_privs table_name="teams" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ </group>
+ <group name="glom_developer">
+ <table_privs table_name="contacts" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ <table_privs table_name="glom_system_preferences" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ <table_privs table_name="projects" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ <table_privs table_name="project_teams" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ <table_privs table_name="team_members" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ <table_privs table_name="teams" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ </group>
+ <group name="personnel_department">
+ <table_privs table_name="contacts" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ <table_privs table_name="glom_system_preferences" priv_view="true" priv_edit="true"/>
+ <table_privs table_name="projects" priv_view="true" priv_edit="true"/>
+ <table_privs table_name="project_teams" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ <table_privs table_name="team_members" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ <table_privs table_name="teams" priv_view="true" priv_edit="true" priv_create="true" priv_delete="true"/>
+ </group>
</groups>
<library_modules/></glom_document>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]