Hey guys,

I am not sure if this is because it is not implemented or it is something else but when i got into openlayers and then select add new style it just sends me to an access denied screen. Any help or advice would be awesome.

Thanks,

Comments

maglue created an issue. See original summary.

stopopol’s picture

I'm experiencing the same problem. Maybe it's conflicting with another module.
OpenLayers Beta5 works fine on a fresh installation of Drupal 7.41, but not on my Drupal 7.41 installation with tons of modules.

Any help is appreciated.

m.stenta’s picture

@maglue: What version of Openlayers are you using?

@maglue and @stopopol: It might help to have a list of modules that each of you have enabled. If there is some kind of module conflict happening, that would be one way to figure out where to start looking.

stopopol’s picture

Here's the list of enabled modules retrieved using drush:

Package Name Version
Administration Administration menu (admin_menu) 7.x-3.0-rc4
Administration Administration Menu select (admin_select) 7.x-1.3
Administration Administration menu Toolbar style 7.x-3.0-rc4
(admin_menu_toolbar)
Administration Filter permissions (filter_perms) 7.x-1.0
Administration Htaccess (htaccess) 7.x-2.3
Administration Module filter (module_filter) 7.x-2.0
Administration Permission Select (permission_select) 7.x-1.2
Biblio Biblio (biblio) 7.x-1.0-rc7
Biblio Biblio - Crossref (biblio_crossref) 7.x-1.0-rc7
Biblio Biblio - EndNote Tagged (biblio_tagged) 7.x-1.0-rc7
Chaos tool Chaos tools (ctools) 7.x-1.9
suite
Charts Charts (charts) 7.x-2.0-rc1
Charts Google Charts (charts_google) 7.x-2.0-rc1
Context Context (context) 7.x-3.6
Context Context UI (context_ui) 7.x-3.6

Custom Custom breadcrumbs (custom_breadcrumbs) 7.x-2.0-beta1
breadcrumbs
Database Schema (schema) 7.x-1.0-rc1
Date/Time Date (date) 7.x-2.8
Date/Time Date All Day (date_all_day) 7.x-2.8
Date/Time Date API (date_api) 7.x-2.8
Date/Time Date Popup (date_popup) 7.x-2.8
Date/Time Date Views (date_views) 7.x-2.8

Development Devel (devel) 7.x-1.5+4-dev
Development Devel generate (devel_generate) 7.x-1.5+4-dev
Display Suite Display Suite (ds) 7.x-2.4
Display Suite Display Suite Extras (ds_extras) 7.x-2.4
Display Suite Display Suite Forms (ds_forms) 7.x-2.4
Display Suite Display Suite UI (ds_ui) 7.x-2.4
ECK Entity Construction Kit (eck) 7.x-2.0-rc2
Features Features (features) 7.x-1.1-alpha
2+1-dev
Features nitrogen Pilot Survey (nitrogen_pilot_survey)
Features nitrogen pilot view (nitrogen_pilot_view) 7.x-1.0
Fields Address Field (addressfield) 7.x-1.2
Fields Conditional Fields (conditional_fields) 7.x-3.0-alpha
2
Fields Email (email) 7.x-1.2
Fields Entity Reference (entityreference) 7.x-1.1
Fields Field Group (field_group) 7.x-1.4+13-de
v
Fields Field Permissions (field_permissions) 7.x-1.0-beta2
Fields Field Validation (field_validation) 7.x-2.3
Fields File Field Sources (filefield_sources) 7.x-1.9
Fields Geofield (geofield) 7.x-2.3
Fields Inline Entity Form (inline_entity_form) 7.x-1.3
Fields Link (link) 7.x-1.2
Fields Name Field (name) 7.x-1.9
Fields Select (or other) (select_or_other) 7.x-2.18
Fields Telephone (telephone) 7.x-1.0-alpha
1
Fields Term Reference Tree (term_reference_tree) 7.x-1.10
Fields URL (url) 7.x-1.0+1-dev
FlexSlider FlexSlider (flexslider) 7.x-2.0-rc1
FlexSlider FlexSlider Example (flexslider_example) 7.x-2.0-rc1
FlexSlider FlexSlider Fields (flexslider_fields) 7.x-2.0-rc1
FlexSlider FlexSlider Views Slideshow 7.x-2.x-dev
(flexslider_views_slideshow)
FlexSlider FlexSlider Views Style (flexslider_views) 7.x-2.0-rc1
Form Elements Hierarchical Select (hierarchical_select) 7.x-3.0-beta2
Form Elements Hierarchical Select Entity Reference (hser) 7.x-3.0-beta2
Form Elements Hierarchical Select Flat List (hs_flatlist) 7.x-3.0-beta2
Form Elements Hierarchical Select Menu (hs_menu) 7.x-3.0-beta2
Form Elements Hierarchical Select Small Hierarchy 7.x-3.0-beta2
(hs_smallhierarchy)
Form Elements Hierarchical Select Taxonomy (hs_taxonomy) 7.x-3.0-beta2
Form Elements Hierarchical Select Taxonomy Views 7.x-3.0-beta2
(hs_taxonomy_views)
Fusion Apply skins (fusion_apply) 7.x-2.0-beta1
Accelerator
Fusion Apply skins for pages and regions 7.x-2.0-beta1
Accelerator (fusion_apply_rules)
Fusion Apply skins UI (fusion_apply_ui) 7.x-2.0-beta1
Accelerator
Fusion Fusion grid tools (fusion_accelerator) 7.x-2.0-beta1
Accelerator
Fusion Fusion labels (fusion_labels) 7.x-2.0-beta1
Accelerator
Fusion Responsive layouts for IE 6-8 7.x-2.0-beta1
Accelerator (fusion_responsive_ie)

Input filters Empty paragraph killer (emptyparagraphkiller) 7.x-1.0-beta2
Media File entity (file_entity) 7.x-2.0-beta1
+7-dev
Migration Drupal-to-Drupal migration (migrate_d2d) 7.x-2.1-beta1
+39-dev
Migration Migrate (migrate) 7.x-2.6-rc1
Migration Migrate Extras (migrate_extras) 7.x-2.5+4-dev
Migration Migrate UI (migrate_ui) 7.x-2.6-rc1
Openlayers Openlayers (openlayers) 7.x-3.0-beta5
Openlayers Openlayers Block Switcher 7.x-3.0-beta5
(openlayers_block_switcher)
Openlayers Openlayers Content Types 7.x-3.0-beta5
(openlayers_content_types)
Openlayers Openlayers Contextual Links 7.x-3.0-beta5
(openlayers_contextual_links)
Openlayers Openlayers Examples (openlayers_examples) 7.x-3.0-beta5
Openlayers Openlayers Field (openlayers_field) 7.x-3.0-beta5
Openlayers Openlayers Geofield (openlayers_geofield) 7.x-3.0-beta5
Openlayers Openlayers library (openlayers_library) 7.x-3.0-beta5
Openlayers Openlayers UI (openlayers_ui) 7.x-3.0-beta5
Openlayers Openlayers Views (openlayers_views) 7.x-3.0-beta5
Other Automatic Entity Labels (auto_entitylabel) 7.x-1.2
Other Autosave (autosave) 7.x-2.2
Other Backup and Migrate (backup_migrate) 7.x-2.7
Other Data export import (data_export_import) 7.x-1.7
Other Diff (diff) 7.x-3.2
Other Dynamic display block (ddblock) 7.x-1.1
Other Elements (elements) 7.x-1.4+2-dev
Other Entity API (entity) 7.x-1.5
Other Entity tokens (entity_token) 7.x-1.5
Other Entity view modes (entity_view_mode) 7.x-1.0-rc1
Other Field referenced delete 7.x-1.0-rc4
(field_referenced_delete)
Other File download count (file_download_count) 7.x-1.0-rc1
Other Geofield Map (geofield_map) 7.x-2.3
Other geoPHP (geophp) 7.x-1.7
Other Helper (helper) 7.x-1.3
Other jQuery Multi (jqmulti) 7.x-1.0
Other Leaflet (leaflet) 7.x-1.3
Other Leaflet Markercluster (leaflet_markercluster) 7.x-1.2
Other Leaflet views (leaflet_views) 7.x-1.3
Other Leaflet Widget for Geofield (leaflet_widget) 7.x-2.0-beta1
Other Libraries (libraries) 7.x-2.2
Other Link checker (linkchecker) 7.x-1.2
Other Masquerade (masquerade) 7.x-1.0-rc7
Other Menu Block (menu_block) 7.x-2.3
Other Menu item visibility (menu_item_visibility) 7.x-1.0-beta1
Other Pathauto (pathauto) 7.x-1.2
Other Pathauto persistant state (pathauto_persist) 7.x-1.3
Other Proj4JS (proj4js) 7.x-1.2
Other Proxy (proxy) 7.x-1.0-beta3
Other Registry Autoload (registry_autoload) 7.x-1.3
Other Required by role (required_by_role) 7.x-1.7
Other Responsive Tables (responsive_tables) 7.x-2.x-dev
Other Save Draft (save_draft) 7.x-1.4+8-dev
Other Schema reference field (schema_reference) 7.x-1.0-beta5
Other Strongarm (strongarm) 7.x-2.0
Other Token (token) 7.x-1.5
Other Token Field (token_field) 7.x-1.x-dev
Other Token formatters (token_formatters) 7.x-1.2
Performance Entity cache (entitycache) 7.x-1.2
and
scalability
Printer, email Printer-friendly pages (print) 7.x-2.0
and PDF
versions
Printer, email Printer-friendly pages UI (print_ui) 7.x-2.0
and PDF
versions
RDF RDFx (rdfx) 7.x-2.0-alpha
4
Search Database search (search_api_db) 7.x-1.0-rc2
Search Search API (search_api) 7.x-1.7
Search Search facets (search_api_facetapi) 7.x-1.7
Search Search views (search_api_views) 7.x-1.7
Search Toolkit Apache Solr Access (apachesolr_access) 7.x-1.8
Search Toolkit Apache Solr autocomplete 7.x-1.4
(apachesolr_autocomplete)
Search Toolkit Apache Solr framework (apachesolr) 7.x-1.8
Search Toolkit Apache Solr search (apachesolr_search) 7.x-1.8
Search Toolkit Date Facets (date_facets) 7.x-1.0-beta2
+15-dev
Search Toolkit Facet API (facetapi) 7.x-1.3
Services Services (services) 7.x-3.12
Services Services Views (services_views) 7.x-1.0
Services - UUID Services (uuid_services) 7.x-1.0-beta1
resources
Services - REST Server (rest_server) 7.x-3.12
servers
Skinr Skinr (skinr) 7.x-2.0
Skinr Skinr Context (skinr_context) 7.x-2.0
Skinr Skinr Context UI (skinr_context_ui) 7.x-2.0
Skinr Skinr UI (skinr_ui) 7.x-2.0
Spam control CAPTCHA (captcha) 7.x-1.0
Spam control Image CAPTCHA (image_captcha) 7.x-1.0
Spam control reCAPTCHA (recaptcha) 7.x-1.9
Spam control reCAPTCHA Mailhide (recaptcha_mailhide) 7.x-1.9
Statistics Google Analytics (googleanalytics) 7.x-2.1
Taxonomy Taxonomy CSV import/export (taxonomy_csv) 7.x-5.10
Taxonomy Taxonomy Manager (taxonomy_manager) 7.x-1.0
User interface Chosen (chosen) 7.x-2.0-beta4
User interface External Links (extlink) 7.x-1.13
User interface jQuery Update (jquery_update) 7.x-2.7
User interface Options element (options_element) 7.x-1.9
User interface Superfish (superfish) 7.x-1.9
User interface Wysiwyg (wysiwyg) 7.x-2.2+54-de
v
User interface Wysiwyg Force Linebreaks (wysiwyg_linebreaks) 7.x-1.5
Utility Service Container (service_container) 7.x-1.0-beta5
Utility Services Container Annotation Discovery 7.x-1.0-beta5
(service_container_annotation_discovery)
Utility Symfony's Services Container 7.x-1.0-beta5
(service_container_symfony)
UUID Universally Unique ID (uuid) 7.x-1.0-beta1
UUID UUID Path (uuid_path) 7.x-1.0-beta1
Views Better Exposed Filters (better_exposed_filters) 7.x-3.0-beta4
Views DataTables (datatables) 7.x-1.2
Views GeoJSON (views_geojson) 7.x-1.0-beta2
Views Views (views) 7.x-3.13
Views Views Aggregator Plus (views_aggregator) 7.x-1.4
Views Views Aggregator Plus More Functions 7.x-1.4
(views_aggregator_more_functions)
Views Views Bulk Operations (views_bulk_operations) 7.x-3.1
Views Views Data Export (views_data_export) 7.x-3.0-beta8
Views Views Reference Filter (entityreference_filter) 7.x-1.5
Views Views Slideshow (views_slideshow) 7.x-3.1
Views Views UI (views_ui) 7.x-3.13
Workbench Workbench (workbench) 7.x-1.2
Workbench Workbench Access (workbench_access) 7.x-1.2
Workbench Workbench Moderation (workbench_moderation) 7.x-1.3
XML sitemap XML sitemap (xmlsitemap) 7.x-2.2
XML sitemap XML sitemap engines (xmlsitemap_engines) 7.x-2.2

kardent’s picture

Hey, sorry about the super late reply.
I can confirm on a fresh drupal install it works so it has to be a module conflict.
Here is the list of current modules:

Block (7.41)
Book (7.41)
Color (7.41)
Contextual links (7.41)
Field (7.38)
Field SQL storage (7.38)
List (7.38)
Number (7.38)
Options (7.38)
Text (7.38)
Field UI (7.41)
File (7.41)
Filter (7.41)
Help (7.41)
Image (7.41)
Menu (7.41)
Node (7.41)
Path (7.41)
PHP filter (7.41)
RDF (7.41)
Search (7.41)
System (7.41)
Taxonomy (7.41)
Update manager (7.41)
User (7.41)
Standard (7.41)
Address Field (7.x-1.2)
Administration menu Adminimal Theme (7.x-1.6)
Administer Users by Role (7.x-2.0-rc1)
Admin Role (7.x-1.0)
Administration menu (7.x-3.0-rc5)
Advanced CSS/JS Aggregation (7.x-2.16)
Advanced Link (7.x-1.3)
Automatic Nodetitles (7.x-1.0)
Backup and Migrate (7.x-3.1)
Back To Top (7.x-1.4)
Bean (7.x-1.9)
Bean Admin UI (7.x-1.9)
Bean UUID (7.x-1.9)
Better Exposed Filters (7.x-3.2)
Biblio (7.x-1.0-rc7)
Block Class (7.x-2.1)
BookMadeSimple (7.x-3.6)
Boost (7.x-1.0)
Calendar (7.x-3.5)
Chain Menu Access API (7.x-2.0)
Charts (7.x-2.0-rc1)
Google Charts (7.x-2.0-rc1)
CKEditor (7.x-1.16)
CKEditor Link (7.x-2.3)
Colectomy (7.x-1.0-beta2)
Colorbox (7.x-2.10)
Colorbox Node (7.x-3.5)
Computed Field (7.x-1.0)
Conditional Fields (7.x-3.0-alpha1+12-dev)
Content Taxonomy (7.x-1.0-beta2)
Content Taxonomy Autocomplete (7.x-1.0-beta2)
Context (7.x-3.6)
Context layouts (7.x-3.6)
Context UI (7.x-3.6)
Context Entity Field (7.x-1.1)
Copy Prevention (7.x-1.1)
Chaos tools (7.x-1.9)
Page manager (7.x-1.9)
Custom breadcrumbs (7.x-2.0-beta1)
Custom breadcrumbs identifiers (7.x-2.0-beta1)
Custom breadcrumbs for paths (7.x-2.0-beta1)
Custom breadcrumbs for taxonomy (7.x-2.0-beta1)
Custom breadcrumbs for views (7.x-2.0-beta1)
Custom Search (7.x-1.18)
Date (7.x-2.9)
Date All Day (7.x-2.9)
Date API (7.x-2.9)
Date Popup (7.x-2.9)
Date Views (7.x-2.9)
Devel (7.x-1.5)
Devel generate (7.x-1.5)
Diff (7.x-3.2)
Disable Term Node Listings (7.x-1.2)
Easy Social (7.x-2.12)
Elements (7.x-1.4)
Email (7.x-1.3)
Enabled modules (7.x-1.0-beta4)
Entity API (7.x-1.6)
Entity tokens (7.x-1.6)
Entity Reference (7.x-1.1)
Cache Expiration (7.x-2.0-rc4)
Fast 404 (7.x-1.5)
Features (7.x-2.7)
Feeds (7.x-2.0-beta1)
Feeds Import (7.x-2.0-beta1)
Feeds Admin UI (7.x-2.0-beta1)
Feeds Tamper (7.x-1.1)
Feeds Tamper Admin UI (7.x-1.1)
Feeds XPath Parser (7.x-1.1)
Field as Block (7.x-1.4)
Field collection (7.x-1.0-beta10)
Field Collection Feeds (7.x-1.0-alpha3+2-dev)
Field Collection Table (7.x-1.0-beta2)
Field Count Formatter (7.x-1.0-beta1)
Field formatter settings API (7.x-1.1)
Field Group (7.x-1.4)
Field Permissions (7.x-1.0-beta2)
Field reference (7.x-1.0)
File (Field) Paths (7.x-1.0-rc2)
File Field Sources (7.x-1.10)
File Field Icons (7.x-1.1)
FlexSlider (7.x-2.0-rc1)
FlexSlider Fields (7.x-2.0-rc1)
FlexSlider Views Style (7.x-2.0-rc1)
Font Awesome (7.x-2.5)
GD infinite scroll plugin (7.x-1.4)
Geocoder (7.x-1.2)
Geofield (7.x-2.3)
Geofield Map (7.x-2.3)
geoPHP (7.x-1.7)
Google Analytics (7.x-2.1)
Google Appliance (7.x-1.13)
Google Chart Tools (7.x-1.4)
Google Chart Tools Example (7.x-1.4)
Google Chart Tools Views Integration (7.x-1.4)
Google Map Field (7.x-2.17)
Honeypot (7.x-1.21)
HTML Mail (7.x-2.65)
Iconizer (7.x-1.2)
Imagecache Canvas Actions (7.x-1.5)
Imagecache Actions (7.x-1.5)
Image Field Caption (7.x-2.1)
Insert view (7.x-2.0)
IP Geolocation Views & Maps (7.x-1.28)
Job Scheduler (7.x-2.0-alpha3)
jPlayer (7.x-2.0-beta1)
jQuery UI MultiSelect Widget (7.x-1.13)
jQuery Update (7.x-2.7)
KML (7.x-1.0-alpha1)
Leaflet (7.x-1.3)
Leaflet views (7.x-1.3)
Leaflet GeoJSON (7.x-2.x-dev)
Leaflet GeoJSON Bean (7.x-2.x-dev)
Leaflet Markercluster (7.x-1.2)
Leaflet Demo (7.x-1.14)
Leaflet More Maps (7.x-1.14)
Leaflet Plugins (7.x-1.x-dev)
Leaflet Popup Outside (7.x-1.1+0-dev)
Leaflet views AJAX popups (7.x-1.0-rc1)
Leaflet Widget for Geofield (7.x-2.0-beta1)
Libraries (7.x-2.2)
Link (7.x-1.3)
LoginToboggan (7.x-1.5)
Mail System (7.x-2.34)
Markup (7.x-1.2)
Masonry API (7.x-3.0-beta1)
Masonry Fields (7.x-3.0-beta1)
Masonry Views (7.x-3.0-beta1)
Match Redirect (7.x-1.0)
MenuPerformance (7.x-1.0-beta4)
Menu Block (7.x-2.7)
Menu view unpublished (7.x-1.0-beta3)
Metatag (7.x-1.7)
Metatag: Context (7.x-1.7)
Metatag: Facebook (7.x-1.7)
Metatag: Views (7.x-1.7)
Mime Mail (7.x-1.0-beta4)
Module filter (7.x-2.0)
Multiupload Filefield Widget (7.x-1.13)
Multiupload Imagefield Widget (7.x-1.3)
Nodeaccess (7.x-1.4)
Node Embed (7.x-1.2)
Node export (7.x-3.0)
OAuth (7.x-3.2)
Openlayers Block Switcher (7.x-3.0-beta4)
Openlayers Content Types (7.x-3.0-beta4)
Openlayers Examples (7.x-3.0-beta4)
Openlayers Geofield (7.x-3.0-beta4)
Openlayers library (7.x-3.0-beta4)
Openlayers UI (7.x-3.0-beta4)
Openlayers Views (7.x-3.0-beta4)
Openlayers (7.x-3.0-beta4)
Password policy (7.x-1.12)
Pathauto (7.x-1.3)
Pathologic (7.x-2.12)
Quicktabs (7.x-3.6)
Quicktabs Styles (7.x-3.6)
Redirect (7.x-1.0-rc3)
References (7.x-2.1)
Registry Autoload (7.x-1.3)
Responsive Menus (7.x-1.5)
Role delegation (7.x-1.1)
RSS Permissions (7.x-1.0-beta2)
Rules (7.x-2.9)
Rules UI (7.x-2.9)
Save & Edit (7.x-1.0-beta1)
Services Container Annotation Discovery (7.x-1.0-beta5+4-dev)
Symfony's Services Container (7.x-1.0-beta5+4-dev)
Service Container (7.x-1.0-beta5+4-dev)
Simplify (7.x-3.3)
Site map (7.x-1.3)
SMTP Authentication Support (7.x-1.2)
Taxonomy Access Control Lite (7.x-1.2)
Taxonomy Manager (7.x-1.0)
Taxonomy menu (7.x-1.5)
TB Mega Menu (7.x-1.0-rc2)
Token (7.x-1.6)
Transliteration (7.x-3.2)
Twitter (7.x-5.11)
Universally Unique ID (7.x-1.0-beta1)
UUID Features (7.x-1.0-alpha4)
Variable (7.x-2.5)
Video Embed Field (7.x-2.0-beta11)
Viewfield (7.x-2.0)
Views (7.x-3.11)
Views UI (7.x-3.11)
Views Bulk Operations (7.x-3.3)
Views Calc (7.x-1.1)
Views Conditional (7.x-1.3)
Views Data Export (7.x-3.0-beta9)
Views dependent filters (7.x-1.1)
Views Field View (7.x-1.2)
GeoJSON (7.x-1.0-beta2)
Views Infinite Scroll (7.x-1.1)
Views Load More (7.x-1.5)
Views Merge Rows (7.x-1.0-rc1)
Views PHP (7.x-1.0-alpha1)
Views Slideshow: Cycle (7.x-3.1)
Views Slideshow (7.x-3.1)
Views System (7.x-3.2)
View Unpublished (7.x-1.2)
Vocabulary Permissions Per Role (7.x-1.0)
jQuery waypoints (7.x-1.0)
Webform (7.x-4.12)
Webform Rules (7.x-1.6)
Webform Validation (7.x-1.10)
XML sitemap (7.x-2.2)
XML sitemap node (7.x-2.2)
XML sitemap taxonomy (7.x-2.2)
Campaign Monitor (7.x-1.1)
DataTables (7.x-1.2)
Image Field Caption Token ()

kardent’s picture

I have got it working on a fresh local install fine, i am going through modules trying to find if any of them are doing it with no luck.
Also have completely uninstalled open layers and manually cleaned the database and reinstalled with the same issue.
To note i do not even get a menu option for styles on the link once inside of the open layers configuration page.

m.stenta’s picture

Ah ha! @altbzh1 posted an important clue here: #2643290: Non Style tab for administrator role

I have a style tab only for The Administrator (First user) and not for people who have the administrator role.

I took a closer look at the access controls for that page, and it turns out that it's looking for a permission called "administer styles", which doesn't exist. All the other Openlayers admin pages are using the "administer openlayers" permission.

Fix coming soon!

  • m.stenta committed 2bfeb7a on 7.x-3.x
    Issue #2599418: Styles Access denied
    
m.stenta’s picture

Status: Active » Closed (fixed)

Fixed! You will probably need to clear cache after updating code. Thanks everyone for the help identifying this! Sorry for the wild goose chase with the "module conflict" idea... :-)