[drupal7-taxonomy_access_fix] Initial import (#924901)

Shawn Iwinski siwinski at fedoraproject.org
Sat Jun 22 16:32:00 UTC 2013


commit 2b4d29928726e4da02c6e3117fd620bbdcfeb790
Author: Shawn Iwinski <shawn.iwinski at gmail.com>
Date:   Sat Jun 22 12:31:33 2013 -0400

    Initial import (#924901)

 .gitignore                                 |    1 +
 drupal7-taxonomy_access_fix-RPM-README.txt |    5 ++
 drupal7-taxonomy_access_fix.spec           |   76 ++++++++++++++++++++++++++++
 sources                                    |    1 +
 4 files changed, 83 insertions(+), 0 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index e69de29..ff0bfab 100644
--- a/.gitignore
+++ b/.gitignore
@@ -0,0 +1 @@
+/taxonomy_access_fix-7.x-1.1.tar.gz
diff --git a/drupal7-taxonomy_access_fix-RPM-README.txt b/drupal7-taxonomy_access_fix-RPM-README.txt
new file mode 100644
index 0000000..e15a506
--- /dev/null
+++ b/drupal7-taxonomy_access_fix-RPM-README.txt
@@ -0,0 +1,5 @@
+After installation, you must enable this module from the Drupal administration
+page.
+
+If upgrading this module separately from the core Drupal package, be sure to
+run the http://hostname/drupal7/upgrade.php script after this RPM is upgraded.
diff --git a/drupal7-taxonomy_access_fix.spec b/drupal7-taxonomy_access_fix.spec
new file mode 100644
index 0000000..6b7fd6d
--- /dev/null
+++ b/drupal7-taxonomy_access_fix.spec
@@ -0,0 +1,76 @@
+%{?drupal7_find_provides_and_requires}
+
+%global module_name taxonomy_access_fix
+
+Name:          drupal7-%{module_name}
+Version:       1.1
+Release:       2%{?dist}
+Summary:       Fixes the crooked access checks for Taxonomy pages
+
+Group:         Applications/Publishing
+License:       GPLv2+
+URL:           http://drupal.org/project/%{module_name}
+Source0:       http://ftp.drupal.org/files/projects/%{module_name}-7.x-%{version}.tar.gz
+Source1:       %{name}-RPM-README.txt
+
+BuildArch:     noarch
+BuildRoot:     %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
+BuildRequires: drupal7-rpmbuild >= 7.22-5
+
+# Since Drupal 7 only requires PHP >= 5.2.5, we must must specify greater PHP min ver
+Requires:      php-common >= 5.3.0
+
+%description
+This module:
+* adds 1 permission per vocabulary: "add terms in X"
+* changes the way vocabulary specific permissions are handled
+* changes the Taxonomy admin pages' access checks
+* alters the vocabularies overview table to show only what you have access to
+  edit or delete
+
+The module does what native Taxonomy lacks: more specific Taxonomy permissions
+(and checking them correctly).
+
+Note: In order to access the admin/structure/taxonomy page, you must first set
+permissions for the desired vocabularies.
+
+Note: A module can't add permissions to another module, so the extra "add terms
+in X" permissions are located under "Taxonomy access fix" and not under
+"Taxonomy".
+
+This package provides the following Drupal module:
+* %{module_name}
+
+
+%prep
+%setup -q -n %{module_name}
+cp -p %{SOURCE1} .
+
+
+%build
+# Empty build section, nothing to build
+
+
+%install
+rm -rf %{buildroot}
+mkdir -p -m 0755 %{buildroot}%{drupal7_modules}/%{module_name}
+cp -pr * %{buildroot}%{drupal7_modules}/%{module_name}
+
+
+%clean
+rm -rf %{buildroot}
+
+
+%files
+%defattr(-,root,root,-)
+%doc *.txt
+%{drupal7_modules}/%{module_name}
+%exclude %{drupal7_modules}/%{module_name}/*.txt
+
+
+%changelog
+* Sun Jun 16 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.1-2
+- Updated for drupal7-rpmbuild 7.22-5
+
+* Tue Mar 19 2013 Shawn Iwinski <shawn.iwinski at gmail.com> 1.1-1
+- Initial package
diff --git a/sources b/sources
index e69de29..92cdcba 100644
--- a/sources
+++ b/sources
@@ -0,0 +1 @@
+18b706daef9329e8f2a64af4ecc3b760  taxonomy_access_fix-7.x-1.1.tar.gz


More information about the scm-commits mailing list