Ticket #146 (closed Bug: fixed)

Opened 1 year ago

Last modified 1 year ago

Access not updating when rdef changed

Reported by: dsugar Assigned to: mstearn
Priority: High Milestone: Release 2.2
Component: Graphical IDE Keywords:
Cc:

Description (Last modified by dsugar)

An access from a resource to a base domain is not updating the access definition when the rdef of the resource has changed.

Steps to reproduce:

  1. Create new project (test) and system (one) with base policy '20070928'
  2. Create a resource (asdf) with rdef unnamed pipes
  3. Create base domain (init)
  4. Create write access between the resource to the domain.
  5. Save system
  6. Change the rdef for the resource (asdf) to unnamedUnixDatagrams.
  7. Access switches to 'none' if you turn 'unnammed pipes' false then turn 'unnamedUnixDatagrams' true. Access stays write if you turn 'unnamedUnixDatagrams' true then 'unnamed pipes' false.
  8. save system
  9. all ok still
  10. add domain bar
  11. add resource foo 'unnamedUnixStreams'
  12. add write access between resource (foo) and domain (bar)
  13. save system
  14. for resource 'asdf' turn 'unnamedPipes' to true and 'unnamedUnixDatagrams' to false.
  15. select access between resource 'asdf' and 'init' and see that the displayed rdef is still 'unnamedUnixDatagrams'.
  16. save system

Looks like closing the picture and opening again might update properly.

Change History

01/03/08 07:12:52 changed by dsugar

  • owner changed from dsugar to mstearn.
  • description changed.

I have updated the steps. Looks like there needs to be two accesses to see the problem. Let me know if you can't duplicate the problem still.

01/08/08 17:06:15 changed by mstearn

  • status changed from new to closed.
  • resolution set to fixed.

Fixed in svn rev 1804.

01/09/08 07:21:50 changed by dsugar

01/09/08 12:24:09 changed by dsugar

additionally changeset:1806