View Issue Details

IDProjectCategoryView StatusLast Update
1617RackTablesdefaultpublic2017-06-19 14:43
Reportergredinger Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionfixed 
Product Version0.20.11 
Summary1617: Ability to tag row
DescriptionI have the ability to tag locations, racks, and objects, but no ability to tag rows.

There is the tag roller, but no way to tag the row. This means I can't grant permissions to a user based upon tag to see the entire row of racks they own.
TagsNo tags attached.

Activities

gredinger

gredinger

2016-04-15 03:47

reporter   ~0003145

I've made a work around for now. I need to create the web page for the rackspace to add the tag now.

I've modified the TagStorage entity_realm table to include "row".

alter table TagStorage change entity_realm entity_realm enum('file','ipv4net','ipv4rspool','ipv4vs','ipvs','ipv6net','location','object','rack','row','user','vst') NOT NULL default 'object';

I've manually injected a tag into the object (as there's no way to do it through the interface yet). The tag worked and the user that had permission was able to access the row.

To update the installer, this line will need to include row:
https://github.com/RackTables/racktables/blob/maintenance-0.20.x/wwwroot/inc/install.php#L1073 will need updated.

I'll take a look at the web interface part of it... hopefully it's as easy of a fix as this was.
gredinger

gredinger

2016-04-15 04:05

reporter   ~0003147

I've added the feature myself... https://github.com/RackTables/racktables/pull/151#partial-pull-merging

Not sure where the update query would go, but hopefully someone can figure that out.
gredinger

gredinger

2016-04-15 04:06

reporter   ~0003149

https://github.com/RackTables/racktables/pull/151

Fixed for my local install by running mysql query:

alter table TagStorage change entity_realm entity_realm enum('file','ipv4net','ipv4rspool','ipv4vs','ipvs','ipv6net','location','object','rack','row','user','vst') NOT NULL default 'object';

Issue History

Date Modified Username Field Change
2016-04-14 22:58 gredinger New Issue
2016-04-15 03:47 gredinger Note Added: 0003145
2016-04-15 04:05 gredinger Note Added: 0003147
2016-04-15 04:06 gredinger Note Added: 0003149
2016-04-15 04:06 gredinger Status new => closed
2016-04-15 04:06 gredinger Resolution open => fixed