← Back to team overview

mahara-contributors team mailing list archive

[Bug 1722861] Re: Institution tags

 

Bug 1722861 Institution tags
==================================================
Created Friday 22 June 2018

**Summary**
- The institution/site admins can delete the
institution tags that have not been used
by any user.

- If a tag has been used, instead of the
delete icon, the admins will see how
many times the tag has been used.

**Launchpad** https://bugs.launchpad.net/mahara/+bug/1722861

**Gerrit:** https://reviews.mahara.org/#/c/8964/

**Bug description:** Institution tags

#### Environment tested: Master
#### Browser tested: Chrome

-------------------------------------
Re Test Manual Test Script
-------------------------------------

####Background :

Given the following institutions exist: 
 - Institution A 
    - Institution tag = Q-InstA-Tag-123	
    - Institution tag = Q-InstA-Tag-456	
 - Institution B 
    - Institution tag = Q-InstB-Tag-987	
    - Institution tag = Q-InstB-Tag-654

Given the following Users exist:
- InstAAdmin
- InstAMember
- InstBAdmin
- InstBMember

Scenario: Users are able to delete "user created tags" and cannot delete
"Institution tags"

    Given I log in as InstBAdmin
    And I create a Portfolio page
    And I fill in the tag field useing auto-suggest to select the Institution tag "Institution B: Q-InstB-Tag-987"
    And I fill in the tag field by typing in a user created tag "User created tag"
    When I browse to the "My tags page"
    And I click the editbutton 
    Then I should see my user created tag "User created tag"
    And I should not see Institution tag "Institution B: Q-InstB-Tag-987"
    And I should be able to delete my user created tag "User created tag"


Scenario: Once an institution tag is used, it cannot be deleted 

    Given I log in as InstBAdmin
    And I create a Portfolio page
    And I fill in the tag field useing auto-suggest to select the Institution tag "Institution B: Q-InstB-Tag-987"
    When I browse to "Institution tags" page 
    Then I should see "Used tags can't be deleted" text to the right of the "Institution B: Q-InstB-Tag-987" Institution Tag 
    And I should see a delete icon to the right of the "Institution tag = Q-InstB-Tag-654" institution tag
    And I should see both Institution tags displayed in a table with the heading Tags and times used.

-- 
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1722861

Title:
  Institution tags

Status in Mahara:
  In Progress

Bug description:
  We have a client who has a requirement to define and manage a set of
  institutional tags which members can use for tagging portfolio
  content.

  These tags must be:
  - configured disabled per institution by default with the ability to enable
  - only visible and selectable by institutional members
  - clearly identifiable as institutional tags when selecting and filtering
  -- and which institution if the user belongs to multiple using this feature
  - non-editable by members outside of the institutional tag management screens

  It is believed that this feature would make a good addition to Mahara
  core and could be extended in the future to helping with other
  features such as SmartEvidence classifications etc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1722861/+subscriptions


References